From 97fa6d943c57a784a52462aaacb329ce93cf42d6 Mon Sep 17 00:00:00 2001 From: Herbert Eiselt Date: Wed, 3 Apr 2019 17:12:30 +0200 Subject: SDN-R odlux configuration Add odlux configuration app Change-Id: Ifecd3f6e1e3060a1fd1008f1f625a70cb2475a8a Issue-ID: SDNC-584 Signed-off-by: Herbert Eiselt --- .../connectApp/src/handlers/connectionStatusLogHandler.tsx | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'sdnr/wt/odlux/apps/connectApp/src/handlers/connectionStatusLogHandler.tsx') 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 }`); -- cgit 1.2.3-korg