Move user-finder into navbar and hide it behind a toggle button, update fontello icons with user-plus and menu.
This commit is contained in:
parent
c0b08d508c
commit
bac1d3bd57
16 changed files with 77 additions and 30 deletions
|
|
@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue