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

events refactor

This commit is contained in:
lana-k
2022-06-25 22:37:09 +02:00
parent 48e311bff8
commit d56604a7d6
14 changed files with 66 additions and 100 deletions

View File

@@ -112,11 +112,7 @@ export default {
}
})
send({
category: 'inquiry',
action: 'create',
label: 'auto=false'
})
send('inquiry.create', undefined, { auto: false })
},
cancelSave () {
this.$modal.hide('save')
@@ -170,10 +166,7 @@ export default {
// Signal about saving
this.$root.$emit('inquirySaved')
send({
category: 'inquiry',
action: 'save'
})
send('inquiry.save')
},
_keyListener (e) {
if (this.$route.path === '/workspace') {