Merge pull request #2128 from pixelfed/staging

Update PostComponent, fix url permalink
This commit is contained in:
daniel 2020-04-19 20:16:40 -06:00 committed by GitHub
commit aad10299f8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 1 additions and 1 deletions

BIN
public/js/status.js vendored

Binary file not shown.

Binary file not shown.

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 :