fix sync bug
This commit is contained in:
parent
7b0bc41f88
commit
30a1e27aa6
|
@ -160,7 +160,7 @@ export class SyncService implements SyncServiceAbstraction {
|
||||||
const collections = await this.collectionService.getAll();
|
const collections = await this.collectionService.getAll();
|
||||||
if (collections != null) {
|
if (collections != null) {
|
||||||
for (let i = 0; i < collections.length; i++) {
|
for (let i = 0; i < collections.length; i++) {
|
||||||
if (notification.collectionIds.indexOf(collections[i].id)) {
|
if (notification.collectionIds.indexOf(collections[i].id) > -1) {
|
||||||
shouldUpdate = true;
|
shouldUpdate = true;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue