diff options
-rw-r--r-- | src/components/group/GroupMaker.vue | 4 | ||||
-rw-r--r-- | src/services/CommandsService.js | 4 |
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') |