Browse Source

fix: truncate view name if needed

Signed-off-by: mertmit <mertmit99@gmail.com>
pull/3515/head
mertmit 2 years ago
parent
commit
688d8ba787
  1. 4
      packages/nc-gui/components/smartsheet/sidebar/RenameableMenuItem.vue

4
packages/nc-gui/components/smartsheet/sidebar/RenameableMenuItem.vue

@ -167,7 +167,9 @@ function onStopEdit() {
<a-input v-if="isEditing" :ref="focusInput" v-model:value="vModel.title" @blur="onCancel" @keydown="onKeyDown($event)" />
<div v-else>{{ vModel.alias || vModel.title }}</div>
<div v-else>
<GeneralTruncateText>{{ vModel.alias || vModel.title }}</GeneralTruncateText>
</div>
<div class="flex-1" />

Loading…
Cancel
Save