Browse Source

fix(nc-gui): add missing uncategorized title when stack is collapsed

pull/3992/head
Wing-Kam Wong 2 years ago
parent
commit
0c6cf2f3a8
  1. 7
      packages/nc-gui/components/smartsheet/Kanban.vue

7
packages/nc-gui/components/smartsheet/Kanban.vue

@ -488,8 +488,11 @@ watch(view, async (nextView) => {
<div v-else class="nc-kanban-data-count mt-[12px] mx-[10px]">
<!-- Stack title -->
<div class="float-right flex gap-2 items-center cursor-pointer font-bold">
<LazyGeneralTruncateText>{{ stack.title }}</LazyGeneralTruncateText>
<div
class="float-right flex gap-2 items-center cursor-pointer font-bold"
:class="{ capitalize: stack.title === null }"
>
<LazyGeneralTruncateText>{{ stack.title ?? 'uncategorized' }}</LazyGeneralTruncateText>
<mdi-menu-down class="text-grey text-lg" />
</div>
<!-- Record Count -->

Loading…
Cancel
Save