Merge pull request #6508 from rm-yakovenko/issues/6386

[Web Bug]: Ui/UX: view profil is going the to the profil which reposted, not to the original one.
pull/6524/head
dansup 4 months ago committed by GitHub
commit e7aca161f7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -81,7 +81,7 @@
<context-menu
v-if="isLoaded"
ref="contextMenu"
:status="post"
:status="shadowStatus"
:profile="user"
@report-modal="handleReport()"
@delete="deletePost()"
@ -93,21 +93,21 @@
<likes-modal
v-if="showLikesModal"
ref="likesModal"
:status="post"
:status="shadowStatus"
:profile="user"
/>
<shares-modal
v-if="showSharesModal"
ref="sharesModal"
:status="post"
:status="shadowStatus"
:profile="profile"
/>
<report-modal
v-if="post"
ref="reportModal"
:status="post"
:status="shadowStatus"
/>
<post-edit-modal
@ -177,6 +177,14 @@
this.init();
},
computed: {
shadowStatus: {
get() {
return this.post.reblog ? this.post.reblog : this.post;
}
}
},
watch: {
'$route': 'init'
},

Loading…
Cancel
Save