Browse Source

feat(gui-v2): add icon for percent cell

pull/2910/head
Wing-Kam Wong 2 years ago
parent
commit
3bc938777b
  1. 3
      packages/nc-gui-v2/components/smartsheet-header/CellIcon.vue

3
packages/nc-gui-v2/components/smartsheet-header/CellIcon.vue

@ -18,6 +18,7 @@ import AttachmentIcon from '~icons/mdi/image-multiple-outline'
import URLIcon from '~icons/mdi/link'
import EmailIcon from '~icons/mdi/email'
import CurrencyIcon from '~icons/mdi/currency-usd-circle-outline'
import PercentIcon from '~icons/mdi/percent-outline'
const column = inject(ColumnInj)
@ -54,6 +55,8 @@ const icon = computed(() => {
return URLIcon
} else if (additionalColMeta.isCurrency) {
return CurrencyIcon
} else if (additionalColMeta.isPercent) {
return PercentIcon
} else if (additionalColMeta.isString) {
return h(StringIcon, {
class: 'text-[1.5rem]',

Loading…
Cancel
Save