mirror of
https://github.com/dbgate/dbgate
synced 2024-11-07 20:26:23 +00:00
fix
This commit is contained in:
parent
e104feef14
commit
1d24fd9942
@ -39,7 +39,10 @@
|
||||
}
|
||||
|
||||
async function handleSubmit(e) {
|
||||
axiosInstance.post('connections/save', e.detail);
|
||||
axiosInstance.post('connections/save', {
|
||||
...e.detail,
|
||||
singleDatabase: e.detail.defaultDatabase ? e.detail.singleDatabase : false,
|
||||
});
|
||||
closeCurrentModal();
|
||||
}
|
||||
</script>
|
||||
|
Loading…
Reference in New Issue
Block a user