mirror of
https://github.com/bitwarden/browser
synced 2025-12-10 21:33:27 +00:00
[PM-4107] Only call config on successful sync (#7149)
This commit is contained in:
@@ -232,8 +232,10 @@ export class AppComponent implements OnInit, OnDestroy {
|
||||
case "syncStarted":
|
||||
break;
|
||||
case "syncCompleted":
|
||||
await this.updateAppMenu();
|
||||
this.configService.triggerServerConfigFetch();
|
||||
if (message.successfully) {
|
||||
this.updateAppMenu();
|
||||
this.configService.triggerServerConfigFetch();
|
||||
}
|
||||
break;
|
||||
case "openSettings":
|
||||
await this.openModal<SettingsComponent>(SettingsComponent, this.settingsRef);
|
||||
|
||||
Reference in New Issue
Block a user