chore: restrict accounts
This commit is contained in:
@@ -228,6 +228,7 @@ export async function getCurrentOrg(siteName: string, justGet = false) {
|
||||
siteName,
|
||||
avatar_url,
|
||||
landingpage,
|
||||
is_restricted,
|
||||
customization,
|
||||
theme,
|
||||
organization_plan(
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user