This commit is contained in:
Jan Prochazka
2021-03-27 19:57:03 +01:00
parent 4762597741
commit d45fbcb8c8
3 changed files with 5 additions and 3 deletions

View File

@@ -53,10 +53,12 @@
);
async function generatePreview(options, objects) {
busy = true;
const response = await axiosInstance.post('sqlgen/preview', { conid, database, objects, options });
if (_.isString(response.data)) {
sqlPreview = response.data;
}
busy = false;
}
</script>