diff --git a/packages/nc-gui/components/smartsheet/column/EditOrAdd.vue b/packages/nc-gui/components/smartsheet/column/EditOrAdd.vue index ee08312749..cf7404f03e 100644 --- a/packages/nc-gui/components/smartsheet/column/EditOrAdd.vue +++ b/packages/nc-gui/components/smartsheet/column/EditOrAdd.vue @@ -232,7 +232,10 @@ useEventListener('keydown', (e: KeyboardEvent) => { v-model:value="formState" /> - + diff --git a/packages/nc-gui/components/smartsheet/column/SpecificDBTypeOptions.vue b/packages/nc-gui/components/smartsheet/column/SpecificDBTypeOptions.vue index cbfa30088c..04d85e1bdb 100644 --- a/packages/nc-gui/components/smartsheet/column/SpecificDBTypeOptions.vue +++ b/packages/nc-gui/components/smartsheet/column/SpecificDBTypeOptions.vue @@ -1,3 +1,3 @@ diff --git a/packages/nc-gui/components/smartsheet/header/CellIcon.ts b/packages/nc-gui/components/smartsheet/header/CellIcon.ts index d4be4534f8..15da258b7c 100644 --- a/packages/nc-gui/components/smartsheet/header/CellIcon.ts +++ b/packages/nc-gui/components/smartsheet/header/CellIcon.ts @@ -60,6 +60,8 @@ import DurationIcon from '~icons/mdi/timer-outline' const renderIcon = (column: ColumnType, abstractType: any) => { if (isPrimaryKey(column)) { return KeyIcon + } else if (isSpecificDBType(column)) { + return SpecificDBTypeIcon } else if (isJSON(column)) { return JSONIcon } else if (isDate(column, abstractType)) { @@ -102,8 +104,6 @@ const renderIcon = (column: ColumnType, abstractType: any) => { return NumericIcon } else if (isString(column, abstractType)) { return StringIcon - } else if (isSpecificDBType(column)) { - return SpecificDBTypeIcon } else { return GenericIcon } diff --git a/packages/nc-gui/utils/columnUtils.ts b/packages/nc-gui/utils/columnUtils.ts index b6e896ea50..bef799b692 100644 --- a/packages/nc-gui/utils/columnUtils.ts +++ b/packages/nc-gui/utils/columnUtils.ts @@ -221,6 +221,7 @@ const isTypableInputColumn = (colOrUidt: ColumnType | UITypes) => { UITypes.Duration, UITypes.JSON, UITypes.URL, + UITypes.SpecificDBType, ].includes(uidt) }