aboutsummaryrefslogtreecommitdiffstats
path: root/sdnr/wt/odlux/apps/connectApp/src/handlers
diff options
context:
space:
mode:
Diffstat (limited to 'sdnr/wt/odlux/apps/connectApp/src/handlers')
-rw-r--r--sdnr/wt/odlux/apps/connectApp/src/handlers/connectionStatusLogHandler.tsx10
1 files changed, 7 insertions, 3 deletions
diff --git a/sdnr/wt/odlux/apps/connectApp/src/handlers/connectionStatusLogHandler.tsx b/sdnr/wt/odlux/apps/connectApp/src/handlers/connectionStatusLogHandler.tsx
index 78da2c9af..a3b1f1a2f 100644
--- a/sdnr/wt/odlux/apps/connectApp/src/handlers/connectionStatusLogHandler.tsx
+++ b/sdnr/wt/odlux/apps/connectApp/src/handlers/connectionStatusLogHandler.tsx
@@ -12,10 +12,14 @@ const connectionStatusLogSearchHandler = createSearchDataHandler<{ event: Connec
objectId: event._source.event.objectId,
type: event._source.event.type,
elementStatus: event._source.event.type === 'ObjectCreationNotificationXml'
- ? 'connected'
+ ? 'mounted'
: event._source.event.type === 'ObjectDeletionNotificationXml'
- ? 'disconnected'
- : 'unknown'
+ ? 'unmounted'
+ : event._source.event.type === 'AttributeValueChangedNotificationXml'
+ ? event._source.event.newValue
+ : 'unknown',
+ newValue: ''
+
}),
(name) => `event.${ name }`);