Skip to content

Commit

Permalink
Fixing bug with disappearing bottom bar
Browse files Browse the repository at this point in the history
  • Loading branch information
RealGoodProgrammer committed Sep 19, 2018
1 parent 94f00e8 commit d0d8a1a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ router.beforeEach((to, from, next) => {
}
} else {
if (to.name === 'Login' && isLogged) {
store.commit('leave_chat')
next({name: 'Chats'})
} else {
next()
Expand Down

0 comments on commit d0d8a1a

Please sign in to comment.