diff --git a/.vscode/settings.json b/.vscode/settings.json index 52097f0..01228b7 100755 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -12,5 +12,6 @@ "Setpoints", "usehooks" ], - "liveServer.settings.port": 5501 + "liveServer.settings.port": 5501, + "cSpell.language": "en,ru" } \ No newline at end of file diff --git a/src/pages/Well/Telemetry/Operations/TargetEditor.jsx b/src/pages/Well/Telemetry/Operations/TargetEditor.jsx index 4e83c91..e4daf5f 100644 --- a/src/pages/Well/Telemetry/Operations/TargetEditor.jsx +++ b/src/pages/Well/Telemetry/Operations/TargetEditor.jsx @@ -80,7 +80,7 @@ export const TargetEditor = memo(({ loading, onChange, options }) => { `Не удалось получить список категорий целей`, { actionName: 'Получение списка категорий целей', well } ) - }, [well]) + }, [options]) useEffect(() => { updateTable() diff --git a/src/pages/Well/Telemetry/Operations/index.jsx b/src/pages/Well/Telemetry/Operations/index.jsx index 14f4674..79773d7 100644 --- a/src/pages/Well/Telemetry/Operations/index.jsx +++ b/src/pages/Well/Telemetry/Operations/index.jsx @@ -89,7 +89,7 @@ const Operations = memo(() => { 'Не удалось загрзуить категории операций', { actionName: 'Получение категорий операций' } ) - }, []) + }, [well]) useEffect(() => { invokeWebApiWrapperAsync( @@ -135,6 +135,7 @@ const Operations = memo(() => { onChange={setYDomain} addonAfter={'мин'} addonBefore={'Верхняя граница'} + style={{width: '20em'}} /> {permissions.driller.get && ( <>