summaryrefslogtreecommitdiffstats
path: root/src/services
diff options
context:
space:
mode:
authorjdlugosz963 <jdlugosz963@gmail.com>2022-06-05 12:31:30 +0200
committerjdlugosz963 <jdlugosz963@gmail.com>2022-06-05 12:31:30 +0200
commitbc78028cd869f067ce3c8a8af4bf0a6399ac5067 (patch)
treed027f002b158e76b7aa0eeac5ef288b3be5f0a19 /src/services
parentf1a1f890a6628b4ce11707b18c570d90e82bd21a (diff)
downloadlom_frontend-bc78028cd869f067ce3c8a8af4bf0a6399ac5067.tar.gz
lom_frontend-bc78028cd869f067ce3c8a8af4bf0a6399ac5067.zip
Repair bug - multiple socket connections
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')