fix: Update superadmin orgs list after create (#2278)
Fixes newly created org not showing in list
This commit is contained in:
parent
cf1d97ab68
commit
71a83bb2e4
@ -366,6 +366,7 @@ export class Admin extends BtrixElement {
|
|||||||
method: "POST",
|
method: "POST",
|
||||||
body: JSON.stringify(params),
|
body: JSON.stringify(params),
|
||||||
});
|
});
|
||||||
|
await this.fetchOrgs();
|
||||||
const userInfo = await this.getUserInfo();
|
const userInfo = await this.getUserInfo();
|
||||||
AppStateService.updateUser(formatAPIUser(userInfo));
|
AppStateService.updateUser(formatAPIUser(userInfo));
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user