Browse Source

refactor/gui v2 added SpecificDBType header

pull/3009/head
Muhammed Mustafa 2 years ago
parent
commit
0e6df78081
  1. 1
      packages/nc-gui-v2/components/smartsheet-column/EditOrAdd.vue
  2. 3
      packages/nc-gui-v2/components/smartsheet-column/SpecificDBTypeOptions.vue
  3. 3
      packages/nc-gui-v2/utils/columnUtils.ts

1
packages/nc-gui-v2/components/smartsheet-column/EditOrAdd.vue

@ -95,6 +95,7 @@ watchEffect(() => {
<SmartsheetColumnDateOptions v-if="formState.uidt === UITypes.Date" />
<SmartsheetColumnRollupOptions v-if="formState.uidt === UITypes.Rollup" />
<SmartsheetColumnLinkedToAnotherRecordOptions v-if="formState.uidt === UITypes.LinkToAnotherRecord" />
<SmartsheetColumnSpecificDBTypeOptions v-if="formState.uidt === UITypes.SpecificDBType" />
<div
v-if="!isVirtualCol(formState.uidt)"

3
packages/nc-gui-v2/components/smartsheet-column/SpecificDBTypeOptions.vue

@ -0,0 +1,3 @@
<template>
<SmartsheetColumnAdvancedOptions class="mt-4" />
</template>

3
packages/nc-gui-v2/utils/columnUtils.ts

@ -4,6 +4,7 @@ import TableColumnPlusBefore from '~icons/mdi/table-column-plus-before'
import FormatColorText from '~icons/mdi/format-color-text'
import TextSubject from '~icons/mdi/text-subject'
import JSONIcon from '~icons/mdi/code-json'
import SpecificDBTypeIcon from '~icons/mdi/database-settings'
import Attachment from '~icons/mdi/attachment'
import CheckboxMarkedOutline from '~icons/mdi/checkbox-marked-outline'
import FormatListBulletedSquare from '~icons/mdi/format-list-bulleted-square'
@ -140,7 +141,7 @@ const uiTypes = [
},
{
name: UITypes.SpecificDBType,
icon: 'mdi-database-settings',
icon: SpecificDBTypeIcon,
},
]

Loading…
Cancel
Save