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:
@ -9,7 +9,7 @@ interface Props {
|
||||
|
||||
const Logo = ({ className }: Props) => {
|
||||
const workspaceStore = useWorkspaceStore();
|
||||
const hasCustomBranding = workspaceStore.profile.plan === PlanType.PRO;
|
||||
const hasCustomBranding = workspaceStore.profile.subscription?.plan === PlanType.PRO;
|
||||
const branding = hasCustomBranding && workspaceStore.setting.branding ? new TextDecoder().decode(workspaceStore.setting.branding) : "";
|
||||
return (
|
||||
<div className={classNames("w-8 h-auto dark:text-gray-500 rounded-lg overflow-hidden", className)}>
|
||||
|
Reference in New Issue
Block a user