From a94569077ec29f1dc87854ed281d02df7ee76d09 Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Mon, 22 Apr 2019 13:52:02 -0600 Subject: [PATCH] Update profile --- resources/assets/js/components/Profile.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/resources/assets/js/components/Profile.vue b/resources/assets/js/components/Profile.vue index c6eb634db..4507056f1 100644 --- a/resources/assets/js/components/Profile.vue +++ b/resources/assets/js/components/Profile.vue @@ -559,11 +559,11 @@ export default { }) .then(res => { let data = res.data; - this.timeline = data; let ids = data.map(status => status.id); this.min_id = Math.max(...ids); this.max_id = Math.min(...ids); this.modalStatus = _.first(res.data); + this.timeline = data; this.ownerCheck(); this.loading = false; }).catch(err => { @@ -592,11 +592,11 @@ export default { }).then(res => { if (res.data.length && this.loading == false) { let data = res.data; - this.timeline.push(...data); let ids = data.map(status => status.id); this.max_id = Math.min(...ids); - this.loading = false; + this.timeline.push(...data); $state.loaded(); + this.loading = false; } else { $state.complete(); }