From fce6c1909e116196b72ab37d8c97b1e334bb922c Mon Sep 17 00:00:00 2001 From: "av.maiorov" Date: Tue, 20 Dec 2022 12:36:31 +0500 Subject: [PATCH] =?UTF-8?q?1.=20=D0=98=D0=B7=D0=BC=D0=B5=D0=BD=D0=B5=D0=BD?= =?UTF-8?q?=D0=B0=20=D0=BB=D0=BE=D0=B3=D0=B8=D0=BA=D0=B0=20=D0=B7=D0=B0?= =?UTF-8?q?=D0=B2=D0=B8=D1=81=D0=B8=D0=BC=D0=BE=D1=81=D1=82=D0=B5=D0=B9=20?= =?UTF-8?q?=D0=B2=20=D0=B4=D0=BE=D1=87=D0=B5=D1=80=D0=BD=D0=B5=D0=BC=20?= =?UTF-8?q?=D0=BA=D0=BE=D0=BC=D0=BF=D0=BE=D0=BD=D0=B5=D0=BD=D1=82=D0=B5=20?= =?UTF-8?q?=D0=BD=D0=B0=20=D1=81=D1=82=D1=80=D0=B0=D0=BD=D0=B8=D1=86=D0=B5?= =?UTF-8?q?=20"=D0=9E=D0=BF=D0=B5=D1=80=D0=B0=D1=86=D0=B8=D0=B8".=202.=20?= =?UTF-8?q?=D0=A3=D0=BC=D0=B5=D0=BD=D1=8C=D1=88=D0=B5=D0=BD=D0=B0=20=D0=B4?= =?UTF-8?q?=D0=BB=D0=B8=D0=BD=D0=B0=20=D0=BF=D0=BE=D0=BB=D1=8F=20"=D0=92?= =?UTF-8?q?=D0=B5=D1=80=D1=85=D0=BD=D1=8F=D1=8F=20=D0=B3=D1=80=D0=B0=D0=BD?= =?UTF-8?q?=D0=B8=D1=86=D0=B0",=20=D0=BD=D0=B0=20=D1=81=D1=82=D1=80=D0=B0?= =?UTF-8?q?=D0=BD=D0=B8=D1=86=D0=B5=20"=D0=9E=D0=BF=D0=B5=D1=80=D0=B0?= =?UTF-8?q?=D1=86=D0=B8=D0=B8".?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .vscode/settings.json | 3 ++- src/pages/Well/Telemetry/Operations/TargetEditor.jsx | 2 +- src/pages/Well/Telemetry/Operations/index.jsx | 3 ++- 3 files changed, 5 insertions(+), 3 deletions(-) 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 && ( <>