fix(structure): initialize dialogs and edit clickhouse columns
This commit is contained in:
1 parent
5b3b69f7fb
commit
69ee7f2d8b
18 files changed
+325
-120
No files matched your search
@@ -667,17 +667,21 @@ function resetForm() {
|
||||
resetTestState();
|
||||
}
|
||||
|
||||
watch(open, (value) => {
|
||||
if (!value) {
|
||||
resetForm();
|
||||
return;
|
||||
}
|
||||
if (!props.editConfig) {
|
||||
resetForm();
|
||||
}
|
||||
void loadJdbcDrivers();
|
||||
void loadAgentDrivers();
|
||||
});
|
||||
watch(
|
||||
open,
|
||||
(value) => {
|
||||
if (!value) {
|
||||
resetForm();
|
||||
return;
|
||||
}
|
||||
if (!props.editConfig) {
|
||||
resetForm();
|
||||
}
|
||||
void loadJdbcDrivers();
|
||||
void loadAgentDrivers();
|
||||
},
|
||||
{ immediate: true },
|
||||
);
|
||||
|
||||
watch(canUseSsh, (value) => {
|
||||
if (!value && configTab.value === "ssh") {
|
||||
|
||||
Reference in new issue
Block a user