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

add chart module (refactoring)

This commit is contained in:
lana-k
2021-02-12 18:57:18 +01:00
parent 9a7dca3482
commit 7e26446573
6 changed files with 70 additions and 38 deletions

View File

@@ -77,7 +77,8 @@ export default {
return false
}
const tabIndex = this.currentQuery.tabIndex
return this.$store.state.tabs[tabIndex].isUnsaved
const tab = this.$store.state.tabs[tabIndex]
return tab && tab.isUnsaved
},
isPredefined () {
if (this.currentQuery) {