From 56a415ef4576c63f5c74f826af18ef979989a521 Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Fri, 17 Apr 2020 19:16:13 -0600 Subject: [PATCH] Update RemotePost.vue --- resources/assets/js/components/RemotePost.vue | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/resources/assets/js/components/RemotePost.vue b/resources/assets/js/components/RemotePost.vue index daba8bec..ddd7b136 100644 --- a/resources/assets/js/components/RemotePost.vue +++ b/resources/assets/js/components/RemotePost.vue @@ -170,7 +170,7 @@

- + {{reply.favourites_count == 1 ? '1 like' : reply.favourites_count + ' likes'}} Reply

@@ -1012,13 +1012,14 @@ export default { window.location.href = url; }, - purl(profile, showOrigin = false) { + permalinkUrl(reply, showOrigin = false) { + let profile = reply.account; if(profile.local == true) { return profile.url; } else { return showOrigin ? - profile.url : - '/i/web/profile/_/' + profile.id; + reply.url : + '/i/web/post/_/' + profile.id + '/' + reply.id; } }