diff --git a/packages/nc-gui/components/dashboard/settings/data-sources/EditBase.vue b/packages/nc-gui/components/dashboard/settings/data-sources/EditBase.vue index 60b94b68aa..941518dffc 100644 --- a/packages/nc-gui/components/dashboard/settings/data-sources/EditBase.vue +++ b/packages/nc-gui/components/dashboard/settings/data-sources/EditBase.vue @@ -234,6 +234,8 @@ const editBase = async () => { } } +const isConnSuccess = ref(false) + const testConnection = async () => { try { await validate() @@ -261,17 +263,7 @@ const testConnection = async () => { if (result.code === 0) { testSuccess.value = true - - Modal.confirm({ - title: t('msg.info.dbConnected'), - icon: null, - type: 'success', - okText: 'Ok & Edit Base', - okType: 'primary', - cancelText: t('general.cancel'), - onOk: editBase, - style: 'top: 30%!important', - }) + isConnSuccess.value = true } else { testSuccess.value = false @@ -472,9 +464,9 @@ onMounted(async () => {