1
0
Fork 1
mirror of https://github.com/pixelfed/pixelfed.git synced 2024-12-23 08:14:10 +00:00

Update PostComponent, fix remote url permalink

This commit is contained in:
Daniel Supernault 2020-04-19 20:12:29 -06:00
parent ba5e67fae7
commit d9e7a70326
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -1213,7 +1213,7 @@ export default {
permalinkUrl(reply, showOrigin = false) { permalinkUrl(reply, showOrigin = false) {
let profile = reply.account; let profile = reply.account;
if(profile.local == true) { if(profile.local == true) {
return profile.url; return reply.url;
} else { } else {
return showOrigin ? return showOrigin ?
reply.url : reply.url :