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> </template>
<div class="w-full">{{ shortName }}</div> <div class="w-full">{{ shortName }}</div>
</a-tooltip> </a-tooltip>
<div v-else class="w-full"><slot></slot></div> <div v-else class="w-full">
<div ref="text" class="hidden"><slot></slot></div> <slot />
</div>
<div ref="text" class="hidden">
<slot />
</div>
</template> </template>

Loading…
Cancel
Save