From 42716ccc45f9eca692eb7bfceb97b7cfb0b2caef Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Fri, 17 Apr 2020 20:42:04 -0600 Subject: [PATCH 1/3] Update PostComponent, fix remote urls --- resources/assets/js/components/PostComponent.vue | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) 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; + } + } + }, } From b56e42dc8385f1cfa674f4abd31282356ef8961f Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Fri, 17 Apr 2020 20:43:09 -0600 Subject: [PATCH 2/3] Update compiled assets --- public/js/status.js | Bin 67573 -> 67750 bytes public/mix-manifest.json | Bin 1939 -> 1939 bytes 2 files changed, 0 insertions(+), 0 deletions(-) diff --git a/public/js/status.js b/public/js/status.js index 1be968cb8ff635ece7de06453ee365bff4b4a28d..297c6bc887d91967da1257a84ae1159815ddff10 100644 GIT binary patch delta 690 zcmey`&$4VH%LHo{eFG=Y$@eeFPrkE{Q_L^JC`3uqx>zqyBT-W?u~tXPz}P)-qP_HH zcE)$c^*RNqMY)MNnR(fvMLAY!rFqFEnfZAdC7RV`iA4&jwuwdQrManjCB=Ffa&B=4pEjQ~X%(CM!PE1O+Fg7xpe14uBi)DDB z7s%%oO9Hu>bIZafE8Mr79QZ&Iq3Znu&B?PLC?Et5KTtt%-al|baI7C1vv?XhxlZO@ zs=e8GLpvV}D5xhoNU^wqjGpkYlLh47$qz2bfg*yXJju~x^UHnj6<7*OE8W0WYtI)~ zgE=r(Cnis?C^Zor{>9NLi6x1;Wx6og$!q4zPHvqqkFb8t{0IbxXMqlago2@g}%0OsZI@c;k- delta 514 zcmZ2Bk>zVY%LHpy?cB;jrOAaWq*%;zUHvCJKI&vsGB9=z1dDB)@y=MhwpJ(KR-;%$ z$;~nw4F?o7Lsfo!YnfZCe(J6@~iMnOF zFxkoGcV#CF+?D4*5{N)>rr*^;a8BQiL2&f%&E|*ciB+hM$x~36e34Cl@{fB$2t`8o zEfJjH`(_Bv#QR1F&guKB5uCaQ_6W|=2hj-5>AO;sogU^O1hzfY-E1(wkeeA8c9R>= z%1w;p Date: Fri, 17 Apr 2020 20:44:02 -0600 Subject: [PATCH 3/3] Update changelog --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 716503584..166e11c3e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,7 @@ ### Added ### Updated +- Updated PostComponent, fix remote urls ([42716ccc](https://github.com/pixelfed/pixelfed/commit/42716ccc)) ## [v0.10.9 (2020-04-17)](https://github.com/pixelfed/pixelfed/compare/v0.10.8...v0.10.9)