From edd07ec8f97aee91d6200c7c82fe882a88430ccc Mon Sep 17 00:00:00 2001 From: Elias Bruvik Date: Tue, 14 Jan 2025 15:33:27 +0100 Subject: [PATCH] FIX-2638 Add a curveDescription column --- .../components/ContentViews/LogCurveInfoListViewUtils.tsx | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Src/WitsmlExplorer.Frontend/components/ContentViews/LogCurveInfoListViewUtils.tsx b/Src/WitsmlExplorer.Frontend/components/ContentViews/LogCurveInfoListViewUtils.tsx index 4145c0045..ba0936db4 100644 --- a/Src/WitsmlExplorer.Frontend/components/ContentViews/LogCurveInfoListViewUtils.tsx +++ b/Src/WitsmlExplorer.Frontend/components/ContentViews/LogCurveInfoListViewUtils.tsx @@ -20,6 +20,7 @@ export interface LogCurveInfoRow extends ContentTableRow { classWitsml: string; unit: string; mnemAlias: string; + curveDescription: string; logUid: string; wellUid: string; wellboreUid: string; @@ -101,6 +102,11 @@ export const getColumns = ( label: "sensorOffset", type: ContentType.Measure }, + { + property: "curveDescription", + label: "curveDescription", + type: ContentType.String + }, { property: "mnemAlias", label: "mnemAlias", type: ContentType.String }, { property: "traceState", label: "traceState", type: ContentType.String }, { property: "nullValue", label: "nullValue", type: ContentType.String }, @@ -179,6 +185,7 @@ export const getTableData = ( wellboreName: logObject.wellboreName, traceState: logCurveInfo.traceState, nullValue: logCurveInfo.nullValue, + curveDescription: logCurveInfo.curveDescription, isActive: isActive, isVisibleFunction: isVisibleFunction(isActive), logCurveInfo