Browse Source

Merge pull request #3009 from nocodb/refactor/gui-v2-specificdbtype-column

vue3: Added SpecificDBType column
pull/3017/head
Muhammed Mustafa 2 years ago committed by GitHub
parent
commit
b71473eb7c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  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