From 36bc4adbe7cac08f09eace41b9dc57dd963ee63a Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Fri, 4 Sep 2020 19:15:26 -0600 Subject: [PATCH 1/2] Update components --- resources/assets/js/components/Profile.vue | 8 +++++++- resources/assets/js/components/RemotePost.vue | 2 +- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/resources/assets/js/components/Profile.vue b/resources/assets/js/components/Profile.vue index 78ea8992e..6593d690c 100644 --- a/resources/assets/js/components/Profile.vue +++ b/resources/assets/js/components/Profile.vue @@ -140,7 +140,7 @@ {{profile.display_name}}

-

{{profile.website}}

+

{{truncate(profile.website,24)}}

@@ -1270,6 +1270,12 @@ self.followingModalSearch = null; }); } + }, + + truncate(str, len) { + return _.truncate(str, { + length: len + }); } } } diff --git a/resources/assets/js/components/RemotePost.vue b/resources/assets/js/components/RemotePost.vue index 4f88dbace..63883c7cd 100644 --- a/resources/assets/js/components/RemotePost.vue +++ b/resources/assets/js/components/RemotePost.vue @@ -791,7 +791,7 @@ export default { }, fetchComments() { - let url = '/api/v2/comments/'+this.statusUsername+'/status/'+this.statusId; + let url = '/api/v2/comments/'+this.statusProfileId+'/status/'+this.statusId; axios.get(url) .then(response => { let self = this; From 8f53d7b59f23b7bbe5214ad9459a0b9ecefb2ca7 Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Fri, 4 Sep 2020 19:18:08 -0600 Subject: [PATCH 2/2] Update compiled assets --- public/js/profile.js | Bin 111758 -> 111829 bytes public/js/rempos.js | Bin 60335 -> 60334 bytes public/mix-manifest.json | Bin 1939 -> 1939 bytes 3 files changed, 0 insertions(+), 0 deletions(-) diff --git a/public/js/profile.js b/public/js/profile.js index c04804fdd0536348cbd98ec018f8f54ff86703a2..50b1bc955916513c99687e949e07967dd9e50fab 100644 GIT binary patch delta 438 zcmeBs$#(T6+XgKG7RLgMz{!GKa+4d_IYldd(gKw#WKP@vSRj)iXsW`JFRmaFgQ**jbCZojWJMmNeILr+UjFJ;A3@2BtlihrA z-3s>2D%*WHH)kKasmYRU8dyHvu8`4e@~Q*E2$g>iC`^8OKmb|55Sb%4Ipm-qLLm3x z0t83&kO_hlcqkpgIdI5^8|Ii;h3d(ThomJl5{q?rvw1UiWC8%e CzL<>w delta 367 zcmccmlCAG0+XgKG7ALcOlgWZya+4d_IX6!fSZ~N%TdR|3tC6RnCYH&@lYg(1WdW&$8N=_JmE@+RX`QE+r;(|t zm$+GM{VH~5pxEROekgmoZ+39p2a1@sY|N3RwjI9;zz5S(ML(-9ogH#P`P|PZP)++ delta 383 zcmZ2?oq7Fr<_&9ESRrM~;881+Vz#ZioA9%)l_3 z{7+GA@&!H?NNC*P>tsnUtn!|m$f3G1$+5wToAXlA_`xB&`9`s`Kg{aQN{1IR KZq7UEpauXIqld@< diff --git a/public/mix-manifest.json b/public/mix-manifest.json index 48f72871a2f42a0101c1394f076a941002eb1d2e..acb89fa0ca2ef9694659b133c775b03c0411c2f0 100644 GIT binary patch delta 58 zcmbQtKbe1nB&&$2v7wQnxkZYRK~l1babmJjiizoDUDjP9Y39jB7A8OeGlMjfG|MDQ N6LXWzzgcH60szl%5R(7^ delta 58 zcmbQtKbe1nB&$fWrAbn1s;Q-+QIe&ZL857Dib?8ZUDjP9Nd~DFhNfnQDHcG&C^^kC MF)?ZLZ`K)%0O=hOSO5S3