From 9f924f2c7df89891c2fe772b688f369a83f55df3 Mon Sep 17 00:00:00 2001 From: goodmice Date: Tue, 31 May 2022 17:10:41 +0500 Subject: [PATCH] =?UTF-8?q?=D0=98=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=D0=BE=20=D0=B2=D1=80=D0=B5=D0=BC=D1=8F=20=D0=9D?= =?UTF-8?q?=D0=9F=D0=92=20=D0=B2=20=D1=81=D0=B5=D0=BA=D1=86=D0=B8=D1=8F?= =?UTF-8?q?=D1=85=20=D0=BA=D0=BE=D0=BC=D0=BF=D0=BE=D0=B7=D0=B8=D1=82=D0=BD?= =?UTF-8?q?=D0=BE=D0=B9=20=D1=81=D0=BA=D0=B2=D0=B0=D0=B6=D0=B8=D0=BD=D1=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../WellCompositeEditor/WellCompositeSections.jsx | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/pages/Analytics/WellCompositeEditor/WellCompositeSections.jsx b/src/pages/Analytics/WellCompositeEditor/WellCompositeSections.jsx index 6b79e86..05dbed6 100755 --- a/src/pages/Analytics/WellCompositeEditor/WellCompositeSections.jsx +++ b/src/pages/Analytics/WellCompositeEditor/WellCompositeSections.jsx @@ -7,7 +7,7 @@ import { IdWellContext } from '@asb/context' import { CompanyView } from '@components/views' import LoaderPortal from '@components/LoaderPortal' import { invokeWebApiWrapperAsync } from '@components/factory' -import { makeTextColumn, makeNumericColumnPlanFact, makeNumericColumn, makeNumericRender } from '@components/Table' +import { makeTextColumn, makeNumericColumnPlanFact, makeNumericColumn } from '@components/Table' import { WellCompositeService } from '@api' import { hasPermission } from '@utils/permissions' import { @@ -25,7 +25,7 @@ const filtersMinMax = [ { text: 'max', value: 'max' }, ] -const sortBySectionId = (a, b) => a.sectionId - b.sectionId +const sortBySectionId = (a, b) => a?.sectionId - b?.sectionId const filtersSectionsType = [] const DAY_IN_MS = 1000 * 60 * 60 * 24 @@ -93,8 +93,7 @@ export const WellCompositeSections = memo(({ statsWells, selectedSections }) => 'sectionBhaUpSpeedFact', 'sectionCasingDownSpeedPlan', 'sectionCasingDownSpeedFact', - 'nonProductiveTimePlan', - 'nonProductiveTimeFact', + 'nonProductiveHours', ]) return rows