From 7b172795eaa03944d8877992af3f2e8f45cc2750 Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Mon, 3 Jun 2019 19:48:52 -0600 Subject: [PATCH] Update LoopComponent --- .../assets/js/components/LoopComponent.vue | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/resources/assets/js/components/LoopComponent.vue b/resources/assets/js/components/LoopComponent.vue index 80e3dcb12..98d964e0f 100644 --- a/resources/assets/js/components/LoopComponent.vue +++ b/resources/assets/js/components/LoopComponent.vue @@ -12,15 +12,15 @@
- +
-

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

-

+

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

+

{{loop.favourites_count}} Likes {{loop.reblogs_count}} Shares - 0 Loops + {{loop.reply_count}} Comments
@@ -90,17 +90,17 @@ export default { }); if(!el.playing) { el.play(); - this.incrementLoop(loop); + //this.incrementLoop(loop); } else { el.pause(); } }, incrementLoop(loop) { - axios.post('/api/v2/loops/watch', { - id: loop.id - }).then(res => { - console.log(res.data); - }); + // axios.post('/api/v2/loops/watch', { + // id: loop.id + // }).then(res => { + // console.log(res.data); + // }); }, timestamp(loop) { let ts = new Date(loop.created_at);