mirror of
https://github.com/bitwarden/browser.git
synced 2024-09-03 00:20:35 +02:00
dont refresh token and sync at same time
This commit is contained in:
parent
b5085d8004
commit
33cf77559f
2
jslib
2
jslib
|
@ -1 +1 @@
|
||||||
Subproject commit 3429b57db42a3e1e9948b870bf24fcc02ebc8a99
|
Subproject commit 4ca7a9709e9ccd0e67ce09309ae605f2057bf089
|
|
@ -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'));
|
||||||
|
|
Loading…
Reference in New Issue
Block a user