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