load even if sync didnt complete successfully
This commit is contained in:
parent
1d8f7fa538
commit
c903ad7e66
2
jslib
2
jslib
|
@ -1 +1 @@
|
|||
Subproject commit 64a6015a67a8110cd8a4ef897e1338c71c4b6b49
|
||||
Subproject commit 6920cf77b9373ed25f882ce68f17dde582e0a5be
|
|
@ -87,11 +87,6 @@ export class CurrentTabComponent implements OnInit, OnDestroy {
|
|||
});
|
||||
}
|
||||
break;
|
||||
case 'syncCompleted':
|
||||
if (message.successfully) {
|
||||
await this.load();
|
||||
}
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
|
|
@ -97,11 +97,9 @@ export class GroupingsComponent extends BaseGroupingsComponent implements OnInit
|
|||
this.ngZone.run(async () => {
|
||||
switch (message.command) {
|
||||
case 'syncCompleted':
|
||||
if (message.successfully) {
|
||||
window.setTimeout(() => {
|
||||
this.load();
|
||||
}, 500);
|
||||
}
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue