Browse Source

fix(nc-gui): show either formula error or value

pull/4776/head
Wing-Kam Wong 2 years ago
parent
commit
414db7e289
  1. 3
      packages/nc-gui/components/virtual-cell/Formula.vue

3
packages/nc-gui/components/virtual-cell/Formula.vue

@ -24,11 +24,10 @@ const { showEditNonEditableFieldWarning, showClearNonEditableFieldWarning, activ
<template #title>
<span class="font-bold">{{ column.colOptions.error }}</span>
</template>
<span>ERR!</span>
</a-tooltip>
<div class="p-2" @dblclick="activateShowEditNonEditableFieldWarning">
<div v-else class="p-2" @dblclick="activateShowEditNonEditableFieldWarning">
<div v-if="urls" v-html="urls" />
<div v-else>{{ result }}</div>

Loading…
Cancel
Save