Compare commits

...
2 Commits
Author SHA1 Message Date
lana-k 1a9d1b308b check data format #109 2023-06-10 20:05:42 +02:00
lana-k 014ecf145e update version 2023-06-10 19:11:15 +02:00
4 changed files with 7 additions and 4 deletions
+2 -2
View File
@@ -1,12 +1,12 @@
{
"name": "sqliteviz",
"version": "0.22.0",
"version": "0.23.0",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "sqliteviz",
"version": "0.22.0",
"version": "0.23.0",
"license": "Apache-2.0",
"dependencies": {
"codemirror": "^5.57.0",
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "sqliteviz",
"version": "0.22.0",
"version": "0.23.0",
"license": "Apache-2.0",
"private": true,
"scripts": {
+3
View File
@@ -74,6 +74,9 @@ export default {
if (dataFormat === 'sqlite') {
await this.getSqliteDb(dataUrl)
} else {
this.dataMsg.message = 'Unknown data format'
this.dataMsg.type = 'error'
}
// Loading indicator is not needed anymore
+1 -1
View File
@@ -36,7 +36,7 @@ export default {
},
async beforeCreate () {
const schema = this.$store.state.db.schema
if (!schema || schema.length === 0) {
if ((!schema || schema.length === 0) && this.$store.state.tabs.length === 0) {
const stmt = [
'/*',
' * Your database is empty. In order to start building charts',