1
0
mirror of https://github.com/lana-k/sqliteviz.git synced 2025-12-07 10:38:54 +08:00

add changing db in schema pane

This commit is contained in:
lana-k
2020-09-26 19:16:24 +02:00
parent 4b8a993921
commit 5972d535cc
4 changed files with 59 additions and 60 deletions

View File

@@ -7,6 +7,7 @@ export default new Vuex.Store({
state: {
schema: null,
dbFile: null,
dbName: null,
worker: new Worker('/js/worker.sql-wasm.js')
},
mutations: {
@@ -15,6 +16,9 @@ export default new Vuex.Store({
},
saveDbFile (state, file) {
state.dbFile = file
},
saveDbName (state, name) {
state.dbName = name
}
},
actions: {