summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorjdlugosz963 <jdlugosz963@gmail.com>2021-12-17 01:24:49 +0100
committerjdlugosz963 <jdlugosz963@gmail.com>2021-12-17 01:24:49 +0100
commitf1a1f890a6628b4ce11707b18c570d90e82bd21a (patch)
tree5c9dc360c85c643d12f1aaaf08419e02c44021a4 /src
parentd555e2fbd4543f5c55df6cf18932b29a6224306c (diff)
downloadlom_frontend-f1a1f890a6628b4ce11707b18c570d90e82bd21a.tar.gz
lom_frontend-f1a1f890a6628b4ce11707b18c570d90e82bd21a.zip
add shortcuts command and repair bug
Diffstat (limited to 'src')
-rw-r--r--src/components/group/GroupMaker.vue4
-rw-r--r--src/services/CommandsService.js4
2 files changed, 8 insertions, 0 deletions
diff --git a/src/components/group/GroupMaker.vue b/src/components/group/GroupMaker.vue
index 06963e3..28f39ba 100644
--- a/src/components/group/GroupMaker.vue
+++ b/src/components/group/GroupMaker.vue
@@ -81,6 +81,10 @@ export default {
81 e.preventDefault() 81 e.preventDefault()
82 this.$emit('close') 82 this.$emit('close')
83 break 83 break
84 case 'Escape':
85 e.preventDefault()
86 this.$emit('close')
87 break
84 } 88 }
85 } 89 }
86 }, 90 },
diff --git a/src/services/CommandsService.js b/src/services/CommandsService.js
index 181d50e..18ef243 100644
--- a/src/services/CommandsService.js
+++ b/src/services/CommandsService.js
@@ -35,6 +35,10 @@ export default {
35 } 35 }
36 }, 36 },
37 37
38 shortcuts() {
39 window.open('https://github.com/jdlugosz963/lom_frontend/blob/master/README.md', '_blank');
40 },
41
38 logout() { 42 logout() {
39 AuthService.logout() 43 AuthService.logout()
40 store.dispatch('logout') 44 store.dispatch('logout')