Skip to content
Snippets Groups Projects
Commit 474abf88 authored by Anders Høvik's avatar Anders Høvik
Browse files

Added routing to friends

parent 496d6e4b
No related branches found
No related tags found
No related merge requests found
Pipeline #278446 failed
...@@ -103,6 +103,10 @@ function toUserProfile() { ...@@ -103,6 +103,10 @@ function toUserProfile() {
router.push('/profile') router.push('/profile')
} }
function toFriends() {
router.push('/friends')
}
function toLogout() { function toLogout() {
userStore.clearUserInfo(); userStore.clearUserInfo();
router.push('login') router.push('login')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment