1
0
mirror of https://github.com/lana-k/sqliteviz.git synced 2025-12-07 18:48:55 +08:00
This commit is contained in:
lana-k
2022-06-24 21:29:40 +02:00
parent a20dd7f849
commit 518b22b489
15 changed files with 193 additions and 16 deletions

View File

@@ -57,6 +57,7 @@ import TextField from '@/components/TextField'
import CloseIcon from '@/components/svg/close'
import storedInquiries from '@/lib/storedInquiries'
import AppDiagnosticInfo from './AppDiagnosticInfo'
import { send } from '@/lib/utils/events'
export default {
name: 'MainMenu',
@@ -110,6 +111,12 @@ export default {
this.$router.push('/workspace')
}
})
send({
category: 'inquiry',
action: 'create',
label: 'auto=false'
})
},
cancelSave () {
this.$modal.hide('save')
@@ -163,6 +170,10 @@ export default {
// Signal about saving
this.$root.$emit('inquirySaved')
send({
category: 'inquiry',
action: 'save'
})
},
_keyListener (e) {
if (this.$route.path === '/workspace') {