chore: restrict accounts

This commit is contained in:
Rotimi Best
2024-08-24 20:44:16 +01:00
parent 4ffee61cb0
commit a00bb133af
6 changed files with 67 additions and 2 deletions
@@ -228,6 +228,7 @@ export async function getCurrentOrg(siteName: string, justGet = false) {
siteName,
avatar_url,
landingpage,
is_restricted,
customization,
theme,
organization_plan(
+2 -1
View File
@@ -22,7 +22,8 @@ export const defaultCurrentOrgState: CurrentOrg = {
dashboard: { exercise: true, community: true, bannerText: '', bannerImage: '' }
},
theme: '',
organization_plan: []
organization_plan: [],
is_restricted: false
};
export const orgs = writable<CurrentOrg[]>([]);
@@ -33,6 +33,7 @@ export interface CurrentOrg {
plan_name: string;
is_active: boolean;
}[];
is_restricted: boolean;
}
export interface OrgTeamMember {