Browse Source

fix(nc-gui): show empty string instead of the previous cell result

pull/5106/head
Wing-Kam Wong 2 years ago
parent
commit
e17152cb4b
  1. 2
      packages/nc-gui/components/cell/ClampedText.vue

2
packages/nc-gui/components/cell/ClampedText.vue

@ -19,6 +19,6 @@ onMounted(() => {
<template> <template>
<div ref="wrapper"> <div ref="wrapper">
<text-clamp :key="key" class="w-full h-full break-all" :text="`${props.value || ''}`" :max-lines="props.lines" /> <text-clamp :key="key" class="w-full h-full break-all" :text="`${props.value || ' '}`" :max-lines="props.lines" />
</div> </div>
</template> </template>

Loading…
Cancel
Save