From 8d6f5ac1a5e6f16dee435d3937e67384e1dd036c Mon Sep 17 00:00:00 2001 From: "av.maiorov" Date: Tue, 20 Dec 2022 11:27:37 +0500 Subject: [PATCH] =?UTF-8?q?=D0=9D=D0=B0=20=D1=81=D1=82=D1=80=D0=B0=D0=BD?= =?UTF-8?q?=D0=B8=D1=86=D0=B5=20"=D0=9E=D0=BF=D0=B5=D1=80=D0=B0=D1=86?= =?UTF-8?q?=D0=B8=D0=B8"=20=D0=B8=D0=B7=D0=BC=D0=B5=D0=BD=D0=B5=D0=BD=20?= =?UTF-8?q?=D0=BC=D0=B5=D1=82=D0=BE=D0=B4=20=D0=BF=D0=BE=D0=BB=D1=83=D1=87?= =?UTF-8?q?=D0=B5=D0=BD=D0=B8=D1=8F=20=D0=BA=D0=B0=D1=82=D0=B5=D0=B3=D0=BE?= =?UTF-8?q?=D1=80=D0=B8=D0=B9=20=D0=BE=D0=BF=D0=B5=D1=80=D0=B0=D1=86=D0=B8?= =?UTF-8?q?=D0=B9.=20(Upd)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/Well/Telemetry/Operations/TargetEditor.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pages/Well/Telemetry/Operations/TargetEditor.jsx b/src/pages/Well/Telemetry/Operations/TargetEditor.jsx index d16059d..dc1dfd1 100644 --- a/src/pages/Well/Telemetry/Operations/TargetEditor.jsx +++ b/src/pages/Well/Telemetry/Operations/TargetEditor.jsx @@ -4,7 +4,7 @@ import { Button, Modal } from 'antd' import { useWell } from '@asb/context' import { invokeWebApiWrapperAsync } from '@components/factory' import { EditableTable, makeGroupColumn, makeNumericColumn, makeNumericRender, makeSelectColumn } from '@components/Table' -import { WellOperationService, OperationValueService } from '@api' +import { DetectedOperationService, OperationValueService } from '@api' import { arrayOrDefault } from '@utils' const columnOptions = { @@ -62,7 +62,7 @@ export const TargetEditor = memo(({ loading, onChange }) => { useEffect(() => { invokeWebApiWrapperAsync( async () => { - const categories = arrayOrDefault(await WellOperationService.getCategories(well.id)) + const categories = arrayOrDefault(await DetectedOperationService.getCategories()) const options = categories.map(({ id, name }) => ({ value: id, label: name })) setTargetColumns([