Add edit profile button
This commit is contained in:
parent
2725a0c639
commit
e1361a1cae
5 changed files with 23 additions and 3 deletions
|
@ -12,14 +12,16 @@ import {
|
|||
faBell,
|
||||
faRss,
|
||||
faSearchPlus,
|
||||
faExternalLinkAlt
|
||||
faExternalLinkAlt,
|
||||
faEdit
|
||||
} from '@fortawesome/free-solid-svg-icons'
|
||||
|
||||
library.add(
|
||||
faRss,
|
||||
faBell,
|
||||
faSearchPlus,
|
||||
faExternalLinkAlt
|
||||
faExternalLinkAlt,
|
||||
faEdit
|
||||
)
|
||||
|
||||
export default {
|
||||
|
@ -153,6 +155,9 @@ export default {
|
|||
this.$store.state.instance.restrictedNicknames
|
||||
)
|
||||
},
|
||||
openProfileTab () {
|
||||
this.$store.dispatch('openSettingsModalTab', 'profile')
|
||||
},
|
||||
zoomAvatar () {
|
||||
const attachment = {
|
||||
url: this.user.profile_image_url_original,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue