mirror of
https://github.com/aykhans/slash-e.git
synced 2025-07-04 12:26:19 +00:00
chore: tweak plan header
This commit is contained in:
@ -5,6 +5,8 @@ export const stringifyPlanType = (planType: PlanType) => {
|
||||
return "Free";
|
||||
} else if (planType === PlanType.PRO) {
|
||||
return "Pro";
|
||||
} else if (planType === PlanType.ENTERPRISE) {
|
||||
return "Enterprise";
|
||||
} else {
|
||||
return "Unknown";
|
||||
}
|
||||
|
@ -26,7 +26,6 @@ const useWorkspaceStore = create<WorkspaceState>()((set, get) => ({
|
||||
fetchWorkspaceProfile: async () => {
|
||||
const workspaceProfile = (await workspaceServiceClient.getWorkspaceProfile({})).profile as WorkspaceProfile;
|
||||
set({ ...get(), profile: workspaceProfile });
|
||||
console.log("workspaceProfile", workspaceProfile);
|
||||
return workspaceProfile;
|
||||
},
|
||||
fetchWorkspaceSetting: async () => {
|
||||
|
Reference in New Issue
Block a user