Browse Source

refactor(nc-gui): rollback to previous format

pull/3563/head
Wing-Kam Wong 2 years ago
parent
commit
65a60b56f4
  1. 8
      packages/nc-gui/components/general/TruncateText.vue

8
packages/nc-gui/components/general/TruncateText.vue

@ -38,6 +38,10 @@ const shortName = computed(() =>
</template>
<div class="w-full">{{ shortName }}</div>
</a-tooltip>
<div v-else class="w-full"><slot></slot></div>
<div ref="text" class="hidden"><slot></slot></div>
<div v-else class="w-full">
<slot />
</div>
<div ref="text" class="hidden">
<slot />
</div>
</template>

Loading…
Cancel
Save