diff --git a/packages/nc-gui/components/smartsheet/column/EditOrAdd.vue b/packages/nc-gui/components/smartsheet/column/EditOrAdd.vue index 2ff1139483..3f7f342274 100644 --- a/packages/nc-gui/components/smartsheet/column/EditOrAdd.vue +++ b/packages/nc-gui/components/smartsheet/column/EditOrAdd.vue @@ -51,12 +51,12 @@ const uiTypesOptions = computed(() => { ...uiTypes.filter((t) => !isEdit.value || !t.virtual), ...(!isEdit.value && meta?.value?.columns?.every((c) => !c.pk) ? [ - { - name: UITypes.ID, - icon: MdiIdentifierIcon, - virtual: 0, - }, - ] + { + name: UITypes.ID, + icon: MdiIdentifierIcon, + virtual: 0, + }, + ] : []), ] }) @@ -148,8 +148,7 @@ onMounted(() => { dropdown-class-name="nc-dropdown-column-type" @change="onUidtOrIdTypeChange" > - +
{{ opt.name }} @@ -163,11 +162,9 @@ onMounted(() => { - + - +