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:
parent
68044f7170
commit
4a8cf62495
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user