diff --git a/res/app/components/stf/device/device-service.js b/res/app/components/stf/device/device-service.js index 3c97dcf2..fa8503eb 100644 --- a/res/app/components/stf/device/device-service.js +++ b/res/app/components/stf/device/device-service.js @@ -145,9 +145,7 @@ module.exports = function DeviceServiceFactory($http, socket, EnhanceDeviceServi scopedSocket.on('device.change', changeListener) this.add = function(device) { - remove(device) - insert(device) - notify({ + addListener({ important: true , data: device })