commit | 63e43eb75fac81d3fa5815433cf291f1b8def4b1 | [log] [tgz] |
---|---|---|
author | Matteo Scandolo <matteo.scandolo@gmail.com> | Wed Dec 14 14:18:53 2016 -0800 |
committer | Matteo Scandolo <matteo.scandolo@gmail.com> | Wed Dec 14 14:43:30 2016 -0800 |
tree | bef3ef1a007e9747b01762ad7c1cd4b7d96556a5 | |
parent | 035c593b003a5015e9cfa3b9d05c951ace550d80 [diff] |
Showing synchronizer notification Change-Id: Ibc0ef77471026b48fa2e0a577adde9e43dde2a10
diff --git a/src/app/datasources/helpers/store.helpers.ts b/src/app/datasources/helpers/store.helpers.ts index dfb1e7a..1a2b0ab 100644 --- a/src/app/datasources/helpers/store.helpers.ts +++ b/src/app/datasources/helpers/store.helpers.ts
@@ -10,6 +10,7 @@ public updateCollection(event: IWSEvent, subject: BehaviorSubject<any>): BehaviorSubject<any> { const collection: any[] = subject.value; const index: number = _.findIndex(collection, (i) => { + // NOTE evaluate to use event.msg.pk return i.id === event.msg.object.id; }); const exist: boolean = index > -1;