1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-15 07:43:35 +00:00

removed extra subscription

This commit is contained in:
Addison Beck
2021-02-16 16:33:32 -05:00
committed by GitHub
parent 68044f7170
commit 4a8cf62495

View File

@@ -55,11 +55,6 @@ export class SendComponent extends BaseSendComponent implements OnInit, OnDestro
this.broadcasterService.subscribe(BroadcasterSubscriptionId, (message: any) => { this.broadcasterService.subscribe(BroadcasterSubscriptionId, (message: any) => {
this.ngZone.run(async () => { this.ngZone.run(async () => {
switch (message.command) { switch (message.command) {
case 'syncCompleted':
if (message.successfully) {
await this.load();
}
break;
case 'syncCompleted': case 'syncCompleted':
await this.load(); await this.load();
break; break;