summaryrefslogtreecommitdiffstats
path: root/src/services
diff options
context:
space:
mode:
Diffstat (limited to 'src/services')
-rw-r--r--src/services/CommandsService.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/services/CommandsService.js b/src/services/CommandsService.js
index 18ef243..2f6235e 100644
--- a/src/services/CommandsService.js
+++ b/src/services/CommandsService.js
@@ -39,7 +39,8 @@ export default {
39 window.open('https://github.com/jdlugosz963/lom_frontend/blob/master/README.md', '_blank'); 39 window.open('https://github.com/jdlugosz963/lom_frontend/blob/master/README.md', '_blank');
40 }, 40 },
41 41
42 logout() { 42 logout(searcher) {
43 searcher.$emit('dissconect_socket')
43 AuthService.logout() 44 AuthService.logout()
44 store.dispatch('logout') 45 store.dispatch('logout')
45 router.push('/login') 46 router.push('/login')