Browse Source

refactor(gui): update default fallback text

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/5848/head
Pranav C 2 years ago
parent
commit
50688685e6
  1. 4
      packages/nc-gui/components/virtual-cell/Links.vue

4
packages/nc-gui/components/virtual-cell/Links.vue

@ -55,9 +55,9 @@ const textVal = computed(() => {
if (!value.value) {
return 'Empty'
} else if (value.value === 1) {
return `1 ${column.value?.meta?.singular || 'Item'}`
return `1 ${column.value?.meta?.singular || 'Link'}`
} else {
return `${value.value} ${column.value?.meta?.plural || 'Items'}`
return `${value.value} ${column.value?.meta?.plural || 'Links'}`
}
})

Loading…
Cancel
Save