1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-28 12:45:45 +01: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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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;