|
|
@ -6,6 +6,7 @@ const { openedViewsTab, activeView } = storeToRefs(useViewsStore()) |
|
|
|
const { base, isSharedBase } = storeToRefs(useBase()) |
|
|
|
const { base, isSharedBase } = storeToRefs(useBase()) |
|
|
|
|
|
|
|
|
|
|
|
const { activeTable } = storeToRefs(useTablesStore()) |
|
|
|
const { activeTable } = storeToRefs(useTablesStore()) |
|
|
|
|
|
|
|
const { tableUrl } = useTablesStore() |
|
|
|
|
|
|
|
|
|
|
|
const { isLeftSidebarOpen } = storeToRefs(useSidebarStore()) |
|
|
|
const { isLeftSidebarOpen } = storeToRefs(useSidebarStore()) |
|
|
|
</script> |
|
|
|
</script> |
|
|
@ -33,7 +34,7 @@ const { isLeftSidebarOpen } = storeToRefs(useSidebarStore()) |
|
|
|
<div class="flex flex-row items-center gap-x-1.5"> |
|
|
|
<div class="flex flex-row items-center gap-x-1.5"> |
|
|
|
<GeneralProjectIcon |
|
|
|
<GeneralProjectIcon |
|
|
|
:meta="{ type: base?.type }" |
|
|
|
:meta="{ type: base?.type }" |
|
|
|
class="!grayscale" |
|
|
|
class="!grayscale min-w-4" |
|
|
|
:style="{ |
|
|
|
:style="{ |
|
|
|
filter: 'grayscale(100%) brightness(115%)', |
|
|
|
filter: 'grayscale(100%) brightness(115%)', |
|
|
|
}" |
|
|
|
}" |
|
|
@ -64,14 +65,15 @@ const { isLeftSidebarOpen } = storeToRefs(useSidebarStore()) |
|
|
|
/> |
|
|
|
/> |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
</LazyGeneralEmojiPicker> |
|
|
|
</LazyGeneralEmojiPicker> |
|
|
|
<NcTooltip |
|
|
|
<div |
|
|
|
class="truncate nc-active-table-title" |
|
|
|
v-if="activeTable" |
|
|
|
:class="{ |
|
|
|
:class="{ |
|
|
|
'max-w-1/2': isMobileMode || activeView?.is_default, |
|
|
|
'max-w-1/2': isMobileMode || activeView?.is_default, |
|
|
|
'max-w-20/100': !isSharedBase && !isMobileMode && !activeView?.is_default, |
|
|
|
'max-w-20/100': !isSharedBase && !isMobileMode && !activeView?.is_default, |
|
|
|
'max-w-none': isSharedBase && !isMobileMode, |
|
|
|
'max-w-none': isSharedBase && !isMobileMode, |
|
|
|
}" |
|
|
|
}" |
|
|
|
> |
|
|
|
> |
|
|
|
|
|
|
|
<NcTooltip class="truncate nc-active-table-title max-w-full"> |
|
|
|
<template #title> |
|
|
|
<template #title> |
|
|
|
{{ activeTable?.title }} |
|
|
|
{{ activeTable?.title }} |
|
|
|
</template> |
|
|
|
</template> |
|
|
@ -86,10 +88,16 @@ const { isLeftSidebarOpen } = storeToRefs(useSidebarStore()) |
|
|
|
whiteSpace: 'nowrap', |
|
|
|
whiteSpace: 'nowrap', |
|
|
|
display: 'inline', |
|
|
|
display: 'inline', |
|
|
|
}" |
|
|
|
}" |
|
|
|
|
|
|
|
> |
|
|
|
|
|
|
|
<NuxtLink |
|
|
|
|
|
|
|
class="!hover:(text-black underline-gray-600) !text-inherit !underline-transparent" |
|
|
|
|
|
|
|
:to="tableUrl({ table: activeTable, completeUrl: true })" |
|
|
|
> |
|
|
|
> |
|
|
|
{{ activeTable?.title }} |
|
|
|
{{ activeTable?.title }} |
|
|
|
|
|
|
|
</NuxtLink> |
|
|
|
</span> |
|
|
|
</span> |
|
|
|
</NcTooltip> |
|
|
|
</NcTooltip> |
|
|
|
|
|
|
|
</div> |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
|
|
|
|
|
|
|
|
<div v-if="!isMobileMode" class="px-1 text-gray-500">/</div> |
|
|
|
<div v-if="!isMobileMode" class="px-1 text-gray-500">/</div> |
|
|
|