Browse Source

feat(gui-v2): add icon for integer & float cell

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

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

@ -14,6 +14,7 @@ import DatetimeIcon from '~icons/mdi/calendar-clock'
import DateIcon from '~icons/mdi/calendar'
import RatingIcon from '~icons/mdi/star'
import GenericIcon from '~icons/mdi/square-rounded'
import NumericIcon from '~icons/mdi/numeric'
import AttachmentIcon from '~icons/mdi/image-multiple-outline'
import URLIcon from '~icons/mdi/link'
import EmailIcon from '~icons/mdi/email'
@ -46,6 +47,8 @@ const icon = computed(() => {
return RatingIcon
} else if (additionalColMeta.isAttachment) {
return AttachmentIcon
} else if (additionalColMeta.isInt || additionalColMeta.isFloat) {
return NumericIcon
}
// else if(additionalColMeta.isForeignKey) {
// return FKIcon

Loading…
Cancel
Save