commit | 4e8702354e44755fa2cb682d0fa945509d2d8b00 | [log] [tgz] |
---|---|---|
author | Matteo Scandolo <matteo.scandolo@gmail.com> | Mon Jan 30 13:43:05 2017 -0800 |
committer | Matteo Scandolo <matteo.scandolo@gmail.com> | Tue Jan 31 14:44:24 2017 -0800 |
tree | 528bbbc09a51d0557737922a1f10000e66fea2f7 | |
parent | e2643b937baeff92bd942e83b729782948478bcf [diff] |
CORD-772 Extending the GUI with external apps Change-Id: Ie13d438716054260e03ff54ac752d9f072fb9d76
diff --git a/src/app/datasources/stores/synchronizer.store.ts b/src/app/datasources/stores/synchronizer.store.ts index 33a0c39..aa25cc0 100644 --- a/src/app/datasources/stores/synchronizer.store.ts +++ b/src/app/datasources/stores/synchronizer.store.ts
@@ -15,6 +15,9 @@ ) { this.webSocket.list() .filter((e: IWSEvent) => { + if (!e.msg || !e.msg.changed_fields) { + return false; + } return e.msg.changed_fields.indexOf('backend_status') > -1; }) .subscribe(