diff --git a/public/js/loops.js b/public/js/loops.js index d198506f8..b9f40b134 100644 Binary files a/public/js/loops.js and b/public/js/loops.js differ diff --git a/public/mix-manifest.json b/public/mix-manifest.json index 8aeb5c548..7252b4f99 100644 Binary files a/public/mix-manifest.json and b/public/mix-manifest.json differ diff --git a/resources/assets/js/components/LoopComponent.vue b/resources/assets/js/components/LoopComponent.vue index c7dc5507a..1498184b4 100644 --- a/resources/assets/js/components/LoopComponent.vue +++ b/resources/assets/js/components/LoopComponent.vue @@ -16,7 +16,7 @@

{{loop.account.acct}} {{timestamp(loop)}}

-

+

{{loop.favourites_count}} Likes {{loop.reblogs_count}} Shares @@ -108,6 +108,10 @@ export default { timestamp(loop) { let ts = new Date(loop.created_at); return ts.toLocaleDateString(); + }, + getTitle(loop) { + let content = loop.content ? loop.content : 'Untitled'; + return content.trim(); } } }