diff options
| author | HJ <30-hj@users.noreply.git.pleroma.social> | 2022-02-20 15:11:33 +0000 |
|---|---|---|
| committer | HJ <30-hj@users.noreply.git.pleroma.social> | 2022-02-20 15:11:33 +0000 |
| commit | ddee8bb686fb18baf5212089653a8b4e40feedd6 (patch) | |
| tree | e200f269c3f8faca1f502cf416f0841126b52d9b /src/components/user_card/user_card.js | |
| parent | 56616787ec1b8373e5c160c6fe863694a66ca2db (diff) | |
| parent | befd4d5fc787d3f8287456dbf5d1a6c70419591f (diff) | |
Merge branch 'proper-attachments' into 'develop'
Attachment improvements
See merge request pleroma/pleroma-fe!1399
Diffstat (limited to 'src/components/user_card/user_card.js')
| -rw-r--r-- | src/components/user_card/user_card.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/user_card/user_card.js b/src/components/user_card/user_card.js index cd8ca420..4168c54a 100644 --- a/src/components/user_card/user_card.js +++ b/src/components/user_card/user_card.js @@ -166,7 +166,7 @@ export default { mimetype: 'image' } this.$store.dispatch('setMedia', [attachment]) - this.$store.dispatch('setCurrent', attachment) + this.$store.dispatch('setCurrentMedia', attachment) }, mentionUser () { this.$store.dispatch('openPostStatusModal', { replyTo: true, repliedUser: this.user }) |
