Browse Source

fix(gui): show all db options if uidt is SpecificDBType

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/5193/head
Pranav C 2 years ago
parent
commit
c49ae244d3
  1. 5
      packages/nc-gui/components/smartsheet/column/EditOrAdd.vue
  2. 2
      packages/nc-gui/components/smartsheet/column/SpecificDBTypeOptions.vue

5
packages/nc-gui/components/smartsheet/column/EditOrAdd.vue

@ -232,7 +232,10 @@ useEventListener('keydown', (e: KeyboardEvent) => {
v-model:value="formState" v-model:value="formState"
/> />
<LazySmartsheetColumnAdvancedOptions v-model:value="formState" :advanced-db-options="advancedDbOptions" /> <LazySmartsheetColumnAdvancedOptions
v-model:value="formState"
:advanced-db-options="advancedDbOptions || formState.uidt === UITypes.SpecificDBType"
/>
</div> </div>
</Transition> </Transition>

2
packages/nc-gui/components/smartsheet/column/SpecificDBTypeOptions.vue

@ -1,3 +1,3 @@
<template> <template>
<div class="mt-4 mb-2" /> <div />
</template> </template>

Loading…
Cancel
Save