mirror of
https://github.com/aykhans/slash-e.git
synced 2025-07-06 21:22:36 +00:00
feat: add workspace security setting definition
This commit is contained in:
@ -28,7 +28,7 @@ function App() {
|
||||
}, [workspaceStore.setting.customStyle]);
|
||||
|
||||
useEffect(() => {
|
||||
const hasCustomBranding = workspaceStore.profile.plan === PlanType.PRO;
|
||||
const hasCustomBranding = workspaceStore.profile.subscription?.plan === PlanType.PRO;
|
||||
if (!hasCustomBranding || !workspaceStore.setting.branding) {
|
||||
return;
|
||||
}
|
||||
|
Reference in New Issue
Block a user