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:
@@ -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()
|
||||||
|
|||||||
Reference in New Issue
Block a user