diff --git a/resources/assets/js/components/PostComponent.vue b/resources/assets/js/components/PostComponent.vue index 52969d83a..79f9ccdf2 100644 --- a/resources/assets/js/components/PostComponent.vue +++ b/resources/assets/js/components/PostComponent.vue @@ -173,7 +173,7 @@
- + {{reply.favourites_count == 1 ? '1 like' : reply.favourites_count + ' likes'}} Reply
@@ -1210,6 +1210,17 @@ export default { this.$refs.embedModal.hide(); }, + permalinkUrl(reply, showOrigin = false) { + let profile = reply.account; + if(profile.local == true) { + return profile.url; + } else { + return showOrigin ? + reply.url : + '/i/web/post/_/' + profile.id + '/' + reply.id; + } + } + }, }