From a2b6dd34d73bf432846dc59c6f57dd59a03aff9b Mon Sep 17 00:00:00 2001
From: Michael Dürre <michael.duerre@highstreet-technologies.com>
Date: Thu, 8 Sep 2022 09:45:06 +0200
Subject: update odlux sources
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

update basic odlux functionality for kohn

Issue-ID: CCSDK-3765
Signed-off-by: Michael Dürre <michael.duerre@highstreet-technologies.com>
Change-Id: I3723c9c2f35b9012ba537920b294a54bb556cbc6
Signed-off-by: Michael Dürre <michael.duerre@highstreet-technologies.com>
---
 sdnr/wt/odlux/apps/faultApp/src/views/faultApplication.tsx | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

(limited to 'sdnr/wt/odlux/apps/faultApp/src/views/faultApplication.tsx')

diff --git a/sdnr/wt/odlux/apps/faultApp/src/views/faultApplication.tsx b/sdnr/wt/odlux/apps/faultApp/src/views/faultApplication.tsx
index 456e05e84..b9cd5e4da 100644
--- a/sdnr/wt/odlux/apps/faultApp/src/views/faultApplication.tsx
+++ b/sdnr/wt/odlux/apps/faultApp/src/views/faultApplication.tsx
@@ -173,13 +173,13 @@ class FaultApplicationComponent extends React.Component<FaultApplicationComponen
           activePanelId === 'CurrentProblem' &&
           <>
             <FaultTable stickyHeader tableId="current-problems-table" idProperty="id" customActionButtons={customActions} columns={[
-              { property: "icon", title: "", type: ColumnType.custom, customControl: this.renderIcon },
+              // { property: "icon", title: "", type: ColumnType.custom, customControl: this.renderIcon },
+              { property: "severity", title: "Severity", type: ColumnType.text, width: "140px" },
               { property: "timestamp", type: ColumnType.text, title: "Timestamp" },
               { property: "nodeId", title: "Node Name", type: ColumnType.text },
               { property: "counter", title: "Count", type: ColumnType.numeric, width: "100px" },
               { property: "objectId", title: "Object Id", type: ColumnType.text },
               { property: "problem", title: "Alarm Type", type: ColumnType.text },
-              { property: "severity", title: "Severity", type: ColumnType.text, width: "140px" },
             ]} {...this.props.currentProblemsProperties} {...this.props.currentProblemsActions} />
             <RefreshCurrentProblemsDialog
               mode={this.state.refreshCurrentProblemsEditorMode}
@@ -190,13 +190,13 @@ class FaultApplicationComponent extends React.Component<FaultApplicationComponen
         {activePanelId === 'AlarmNotifications' &&
 
           <FaultAlarmNotificationTable stickyHeader tableId="alarm-notifications-table" idProperty="id" defaultSortColumn='timeStamp' defaultSortOrder='desc' rows={this.props.faultNotifications.faults} asynchronus columns={[
-            { property: "icon", title: "", type: ColumnType.custom, customControl: this.renderIcon },
+            // { property: "icon", title: "", type: ColumnType.custom, customControl: this.renderIcon },
+            { property: "severity", title: "Severity", width: "140px" },
             { property: "timeStamp", title: "Timestamp" },
             { property: "nodeName", title: "Node Name" },
             { property: "counter", title: "Count", width: "100px", type: ColumnType.numeric },
             { property: "objectId", title: "Object Id" },
             { property: "problem", title: "Alarm Type" },
-            { property: "severity", title: "Severity", width: "140px" },
           ]} />
         }
 
@@ -204,13 +204,13 @@ class FaultApplicationComponent extends React.Component<FaultApplicationComponen
           <>
             <FaultTable stickyHeader idProperty={'id'} tableId="alarm-log-table" customActionButtons={[refreshAlarmLogAction]}
               columns={[
-                { property: "icon", title: "", type: ColumnType.custom, customControl: this.renderIcon },
+                // { property: "icon", title: "", type: ColumnType.custom, customControl: this.renderIcon },
+                { property: "severity", title: "Severity", width: "140px" },
                 { property: "timestamp", title: "Timestamp" },
                 { property: "nodeId", title: "Node Name" },
                 { property: "counter", title: "Count", type: ColumnType.numeric, width: "100px" },
                 { property: "objectId", title: "Object Id" },
                 { property: "problem", title: "Alarm Type" },
-                { property: "severity", title: "Severity", width: "140px" },
                 { property: "sourceType", title: "Source", width: "140px" },
               ]} {...this.props.alarmLogEntriesProperties} {...this.props.alarmLogEntriesActions} />
             <RefreshAlarmLogDialog
-- 
cgit 1.2.3-korg

