From bf0cbdf4e96ac7a724e4b94596dfd566046baef4 Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Mon, 22 Apr 2019 13:40:09 -0600 Subject: [PATCH 1/2] Update profile.vue, fix race condition in infinitescroll --- resources/assets/js/components/Profile.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/assets/js/components/Profile.vue b/resources/assets/js/components/Profile.vue index b94a845d6..c6eb634db 100644 --- a/resources/assets/js/components/Profile.vue +++ b/resources/assets/js/components/Profile.vue @@ -580,7 +580,7 @@ export default { }, infiniteTimeline($state) { - if(this.loading) { + if(this.loading || this.timeline < 9) { return; } let apiUrl = '/api/v1/accounts/' + this.profileId + '/statuses'; From d8d45385f67f4524ff4af7233531e5ad71d3b9fc Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Mon, 22 Apr 2019 13:40:58 -0600 Subject: [PATCH 2/2] Update compiled assets --- public/js/profile.js | Bin 60297 -> 60318 bytes public/mix-manifest.json | Bin 845 -> 845 bytes 2 files changed, 0 insertions(+), 0 deletions(-) diff --git a/public/js/profile.js b/public/js/profile.js index bdc3a755b006bdd5a6bac0276f06c0784acd05ac..406111dcfc546bca873bea8e8f2704cbfbdd9ce4 100644 GIT binary patch delta 199 zcmeCY&OGlr^M>1;tY$?SnM#urW=OF(nHZ&R4&;2y0cK5}xXg0$(#ZlGhKb20#wJOL zll7*^O};%@2vtCMiZHT(K7x}vW#Z=hLTPOB8YLN-#d1;n>)B7Ihb55CLcU5JlSqDJDY}*he2A-