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

fix loading db after csv:

new tab is not opened now
This commit is contained in:
lana-k
2021-05-02 14:09:02 +02:00
parent 5d6280abec
commit 00e434e142
2 changed files with 46 additions and 0 deletions

View File

@@ -233,6 +233,7 @@ export default {
this.$modal.hide('parse')
const tabId = await this.$store.dispatch('addTab', { query: 'select * from csv_import' })
this.$store.commit('setCurrentTabId', tabId)
this.importCsvCompleted = false
}
if (this.$route.path !== '/editor') {
this.$router.push('/editor')