[Web Bug]: Ui/UX: view profil is going the to the profil which reposted, not to the original one.

pull/6508/head
Rm Yakovenko 9 months ago
parent a73bbb12e2
commit 4cc4f42fe0

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

Loading…
Cancel
Save