aboutsummaryrefslogtreecommitdiff
path: root/src/components/user_finder/user_finder.js
diff options
context:
space:
mode:
authorShpuld Shpuldson <shpuld@gmail.com>2017-06-03 23:42:54 +0300
committerShpuld Shpuldson <shpuld@gmail.com>2017-06-03 23:42:54 +0300
commitbac1d3bd57fb0c04b32c31a048ccf58a3dee6be0 (patch)
treefe499c4a362e888af05e53e8793cfada0ce0d4e9 /src/components/user_finder/user_finder.js
parentc0b08d508c34fba9925e8e60c44ce3f818878e2b (diff)
Move user-finder into navbar and hide it behind a toggle button, update fontello icons with user-plus and menu.
Diffstat (limited to 'src/components/user_finder/user_finder.js')
-rw-r--r--src/components/user_finder/user_finder.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/components/user_finder/user_finder.js b/src/components/user_finder/user_finder.js
index a6bf08b6..03205382 100644
--- a/src/components/user_finder/user_finder.js
+++ b/src/components/user_finder/user_finder.js
@@ -1,6 +1,7 @@
const UserFinder = {
data: () => ({
- username: undefined
+ username: undefined,
+ hidden: true
}),
methods: {
findUser (username) {
@@ -11,6 +12,9 @@ const UserFinder = {
this.$router.push({name: 'user-profile', params: {id: user.id}})
}
})
+ },
+ toggleHidden () {
+ this.hidden = !this.hidden
}
}
}