Skip to content

Commit 71a83bb

Browse files
authored
fix: Update superadmin orgs list after create (#2278)
Fixes newly created org not showing in list
1 parent cf1d97a commit 71a83bb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

frontend/src/pages/admin.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -366,6 +366,7 @@ export class Admin extends BtrixElement {
366366
method: "POST",
367367
body: JSON.stringify(params),
368368
});
369+
await this.fetchOrgs();
369370
const userInfo = await this.getUserInfo();
370371
AppStateService.updateUser(formatAPIUser(userInfo));
371372

0 commit comments

Comments
 (0)