mirror of
https://github.com/lana-k/sqliteviz.git
synced 2025-12-08 19:18:54 +08:00
events refactor
This commit is contained in:
@@ -128,11 +128,9 @@ export default {
|
||||
if (fIo.isDatabase(file)) {
|
||||
this.loadDb(file)
|
||||
} else {
|
||||
send({
|
||||
category: 'database',
|
||||
action: 'import',
|
||||
value: file.size,
|
||||
label: 'from=csv new_db=true'
|
||||
send('database.import', file.size, {
|
||||
from: 'csv',
|
||||
new_db: true
|
||||
})
|
||||
|
||||
this.file = file
|
||||
|
||||
Reference in New Issue
Block a user