mirror of
https://github.com/bitwarden/browser
synced 2025-12-13 06:43:35 +00:00
fix sync bug
This commit is contained in:
@@ -160,7 +160,7 @@ export class SyncService implements SyncServiceAbstraction {
|
||||
const collections = await this.collectionService.getAll();
|
||||
if (collections != null) {
|
||||
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;
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user