mirror of
https://github.com/bitwarden/browser
synced 2025-12-16 16:23:44 +00:00
Add NotificationType.SyncOrganizations (#7924)
This commit is contained in:
@@ -167,6 +167,12 @@ export class NotificationsService implements NotificationsServiceAbstraction {
|
||||
await this.syncService.fullSync(false);
|
||||
}
|
||||
break;
|
||||
case NotificationType.SyncOrganizations:
|
||||
if (isAuthenticated) {
|
||||
// An organization update may not have bumped the user's account revision date, so force a sync
|
||||
await this.syncService.fullSync(true);
|
||||
}
|
||||
break;
|
||||
case NotificationType.SyncOrgKeys:
|
||||
if (isAuthenticated) {
|
||||
await this.syncService.fullSync(true);
|
||||
|
||||
Reference in New Issue
Block a user