Browse Source

Merge pull request #3093 from nocodb/fix/3092-change-col-type

fix(gui-v2): call generateNewColumnMeta only once
pull/3099/head
navi 2 years ago committed by GitHub
parent
commit
6dcedd2d6a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      packages/nc-gui-v2/components/smartsheet-column/EditOrAdd.vue

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

@ -69,7 +69,7 @@ async function onSubmit() {
// create column meta if it's a new column
watchEffect(() => {
if (!isEdit.value) {
if (!isEdit.value && formState.value.altered !== 1) {
generateNewColumnMeta()
}
})

Loading…
Cancel
Save