1
0
mirror of https://github.com/lana-k/sqliteviz.git synced 2025-12-06 18:18:53 +08:00

Save dialog remembers the name for another tab #22

This commit is contained in:
lana-k
2020-12-17 18:15:41 +01:00
parent c2a155c561
commit 0339aafe14

View File

@@ -101,6 +101,7 @@ export default {
const isFromScratch = !this.currentQuery.initName const isFromScratch = !this.currentQuery.initName
if (isFromScratch || this.isPredefined) { if (isFromScratch || this.isPredefined) {
this.name = ''
this.$modal.show('save') this.$modal.show('save')
} else { } else {
this.saveQuery() this.saveQuery()