mirror of
https://github.com/bitwarden/browser
synced 2025-12-16 16:23:44 +00:00
load even if sync didnt complete successfully
This commit is contained in:
2
jslib
2
jslib
Submodule jslib updated: 64a6015a67...6920cf77b9
@@ -87,11 +87,6 @@ export class CurrentTabComponent implements OnInit, OnDestroy {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case 'syncCompleted':
|
|
||||||
if (message.successfully) {
|
|
||||||
await this.load();
|
|
||||||
}
|
|
||||||
break;
|
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -97,11 +97,9 @@ export class GroupingsComponent extends BaseGroupingsComponent implements OnInit
|
|||||||
this.ngZone.run(async () => {
|
this.ngZone.run(async () => {
|
||||||
switch (message.command) {
|
switch (message.command) {
|
||||||
case 'syncCompleted':
|
case 'syncCompleted':
|
||||||
if (message.successfully) {
|
window.setTimeout(() => {
|
||||||
window.setTimeout(() => {
|
this.load();
|
||||||
this.load();
|
}, 500);
|
||||||
}, 500);
|
|
||||||
}
|
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in New Issue
Block a user