Browse Source

chore/gui-v2-phonenumber-added-icon-for-column-cell

pull/2925/head
Muhammed Mustafa 2 years ago
parent
commit
759f35acfa
  1. 3
      packages/nc-gui-v2/components/smartsheet-header/CellIcon.vue

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

@ -1,6 +1,7 @@
<script setup lang="ts"> <script setup lang="ts">
import type { ColumnType } from 'nocodb-sdk' import type { ColumnType } from 'nocodb-sdk'
import { ColumnInj } from '~/context' import { ColumnInj } from '~/context'
import FilePhoneIcon from '~icons/mdi/file-phone'
import { useColumn } from '#imports' import { useColumn } from '#imports'
import KeyIcon from '~icons/mdi/key-variant' import KeyIcon from '~icons/mdi/key-variant'
import JSONIcon from '~icons/mdi/code-json' import JSONIcon from '~icons/mdi/code-json'
@ -52,6 +53,8 @@ const icon = computed(() => {
return AttachmentIcon return AttachmentIcon
} else if (additionalColMeta.isInt || additionalColMeta.isFloat) { } else if (additionalColMeta.isInt || additionalColMeta.isFloat) {
return NumericIcon return NumericIcon
} else if (additionalColMeta.isPhoneNumber) {
return FilePhoneIcon
} }
// else if(additionalColMeta.isForeignKey) { // else if(additionalColMeta.isForeignKey) {
// return FKIcon // return FKIcon

Loading…
Cancel
Save