diff --git a/packages/nc-gui-v2/components/smartsheet-column/EditOrAdd.vue b/packages/nc-gui-v2/components/smartsheet-column/EditOrAdd.vue index 350036f72d..c69bc749d0 100644 --- a/packages/nc-gui-v2/components/smartsheet-column/EditOrAdd.vue +++ b/packages/nc-gui-v2/components/smartsheet-column/EditOrAdd.vue @@ -66,6 +66,11 @@ function onCancel() { } } +async function onSubmit() { + await addOrUpdate(reloadMetaAndData) + advancedOptions.value = false +} + // create column meta if it's a new column watchEffect(() => { if (!isEdit.value) { @@ -171,17 +176,7 @@ watch( {{ $t('general.cancel') }} - + {{ $t('general.save') }}