This commit is contained in:
Jan Prochazka 2021-04-24 09:04:23 +02:00
parent e104feef14
commit 1d24fd9942

View File

@ -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>