Browse Source

fix: rerender LTAR options when switching types LTAR <=> Links since it reset props

pull/7054/head
Pranav C 1 year ago
parent
commit
69e6412f37
  1. 1
      packages/nc-gui/components/smartsheet/column/EditOrAdd.vue

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

@ -306,6 +306,7 @@ if (props.fromTableExplorer) {
<LazySmartsheetColumnRollupOptions v-if="formState.uidt === UITypes.Rollup" v-model:value="formState" />
<LazySmartsheetColumnLinkedToAnotherRecordOptions
v-if="!isEdit && (formState.uidt === UITypes.LinkToAnotherRecord || formState.uidt === UITypes.Links)"
:key="formState.uidt"
v-model:value="formState"
/>
<LazySmartsheetColumnLinkOptions v-if="isEdit && formState.uidt === UITypes.Links" v-model:value="formState" />

Loading…
Cancel
Save