fix: update sql code & download prettily JSON

This commit is contained in:
2026-05-09 13:08:35 +03:00
parent f3b407e1ed
commit debf1b165f
2 changed files with 2 additions and 1 deletions

View File

@@ -1062,6 +1062,7 @@ async function saveQuery() {
if (!res.ok) throw new Error(await res.text())
showNotification('OlapConstructor.notifications.saveSuccess', 'success')
isDirty.value = false
await fetchSql()
} catch (e: any) {
showNotification('OlapConstructor.notifications.saveError', 'error', { error: e.message })
}