Browse Source

feat(gui-v2): reset test status on any field update

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/2730/head
Pranav C 2 years ago
parent
commit
bda31a16ce
  1. 8
      packages/nc-gui-v2/pages/projects/index/create-external.vue

8
packages/nc-gui-v2/pages/projects/index/create-external.vue

@ -189,7 +189,15 @@ const testConnection = async () => {
}
}
// hide sidebar
$state.sidebarOpen.value = false
// reset test status on config change
watch(
() => formState.dataSource,
() => (testSuccess.value = false),
{ deep: true },
)
</script>
<template>

Loading…
Cancel
Save