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