Skip to content

Commit

Permalink
Merge pull request #143 from Adamant-im/bug/fix_f5_and_styles
Browse files Browse the repository at this point in the history
Fixing bug with disappearing bottom bar
  • Loading branch information
zyuhel authored Sep 19, 2018
2 parents f922635 + d0d8a1a commit 99c0d20
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 99c0d20

Please sign in to comment.