diff options
author | Herbert Eiselt <herbert.eiselt@highstreet-technologies.com> | 2019-04-03 17:12:30 +0200 |
---|---|---|
committer | Herbert Eiselt <herbert.eiselt@highstreet-technologies.com> | 2019-04-03 17:13:01 +0200 |
commit | 97fa6d943c57a784a52462aaacb329ce93cf42d6 (patch) | |
tree | b5f0f2484c0a886fcade7b9bcf1d230e6f9e9501 /sdnr/wt/odlux/apps/connectApp/src/handlers | |
parent | 3d6dd098db8ec243ca716a09fc55decbdd23b726 (diff) |
SDN-R odlux configuration
Add odlux configuration app
Change-Id: Ifecd3f6e1e3060a1fd1008f1f625a70cb2475a8a
Issue-ID: SDNC-584
Signed-off-by: Herbert Eiselt <herbert.eiselt@highstreet-technologies.com>
Diffstat (limited to 'sdnr/wt/odlux/apps/connectApp/src/handlers')
-rw-r--r-- | sdnr/wt/odlux/apps/connectApp/src/handlers/connectionStatusLogHandler.tsx | 10 |
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 }`); |