From da6fef6080df3e587f3a16c54e98e78984093943 Mon Sep 17 00:00:00 2001 From: mmcwilliams Date: Tue, 28 May 2019 17:41:39 -0400 Subject: [PATCH] Notify on mock device connectio --- app/lib/ui/devices.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/lib/ui/devices.js b/app/lib/ui/devices.js index 2dba414..07c9299 100644 --- a/app/lib/ui/devices.js +++ b/app/lib/ui/devices.js @@ -46,7 +46,7 @@ devices.listen = function () { }; devices.ready = function (event, arg) { 'use strict'; - console.dir(arg) + //console.dir(arg) let opt; let devs = []; let notify = 'Connected to '; @@ -70,6 +70,8 @@ devices.ready = function (event, arg) { } if (notify !== 'Connected to ') { gui.notify('DEVICES', notify); + } else { + gui.notify('DEVICES', 'Connected to mock devices') } if (devs.length > 0) { $('#devices').empty();