Browse Source

fix(gui-v2): call generateNewColumnMeta only once

Signed-off-by: mertmit <mertmit99@gmail.com>
pull/3093/head
mertmit 2 years ago
parent
commit
fc8c48dd2a
  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