diff --git a/packages/nc-gui/components/dashboard/Sidebar/TopSection.vue b/packages/nc-gui/components/dashboard/Sidebar/TopSection.vue index da684fd157..cdad3fc4c1 100644 --- a/packages/nc-gui/components/dashboard/Sidebar/TopSection.vue +++ b/packages/nc-gui/components/dashboard/Sidebar/TopSection.vue @@ -2,9 +2,11 @@ const workspaceStore = useWorkspace() const projectStore = useProject() +const { isUIAllowed } = useRoles() + const { appInfo } = useGlobal() -const { isWorkspaceLoading, isWorkspaceOwnerOrCreator, isWorkspaceSettingsPageOpened } = storeToRefs(workspaceStore) +const { isWorkspaceLoading, isWorkspaceSettingsPageOpened } = storeToRefs(workspaceStore) const { navigateToWorkspaceSettings } = workspaceStore @@ -45,7 +47,7 @@ const navigateToSettings = () => { -const props = defineProps<{ - color: string -}>() +const props = withDefaults( + defineProps<{ + color: string + border?: boolean + }>(), + { + border: true, + }, +)