mirror of
https://github.com/bitwarden/web
synced 2025-12-12 14:23:18 +00:00
dont refresh token and sync at same time
This commit is contained in:
2
jslib
2
jslib
Submodule jslib updated: 3429b57db4...4ca7a9709e
@@ -161,10 +161,8 @@ export class CreateOrganizationComponent implements OnInit {
|
|||||||
}
|
}
|
||||||
|
|
||||||
async finalize(orgId: string) {
|
async finalize(orgId: string) {
|
||||||
await Promise.all([
|
await this.apiService.refreshIdentityToken();
|
||||||
this.apiService.refreshIdentityToken(),
|
await this.syncService.fullSync(true);
|
||||||
this.syncService.fullSync(true),
|
|
||||||
]);
|
|
||||||
this.analytics.eventTrack.next({ action: 'Created Organization' });
|
this.analytics.eventTrack.next({ action: 'Created Organization' });
|
||||||
this.toasterService.popAsync('success', this.i18nService.t('organizationCreated'),
|
this.toasterService.popAsync('success', this.i18nService.t('organizationCreated'),
|
||||||
this.i18nService.t('organizationReadyToGo'));
|
this.i18nService.t('organizationReadyToGo'));
|
||||||
|
|||||||
Reference in New Issue
Block a user