diff options
| author | Shpuld Shpludson <shp@cock.li> | 2021-07-19 16:35:28 +0000 |
|---|---|---|
| committer | Shpuld Shpludson <shp@cock.li> | 2021-07-19 16:35:28 +0000 |
| commit | 891611816c8009fee7bc9953c6c1f3955308659c (patch) | |
| tree | 91f08aafbcaa71a6d5167fd0b387ce80e03562de /src/components/user_card/user_card.js | |
| parent | 373b14e1e4cdab415eb2cc21108cedbf3c21fe6f (diff) | |
| parent | 85e2f8f78c55c3bda7733205be49c93cb34d96d2 (diff) | |
Merge branch 'editProfile' into 'develop'
Minor change: Add edit profile button onto self user card
See merge request pleroma/pleroma-fe!1398
Diffstat (limited to 'src/components/user_card/user_card.js')
| -rw-r--r-- | src/components/user_card/user_card.js | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/components/user_card/user_card.js b/src/components/user_card/user_card.js index d9fb64d1..367fbc6c 100644 --- a/src/components/user_card/user_card.js +++ b/src/components/user_card/user_card.js @@ -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, |
