From d76886e041474669b8f21896affe7b5aa254d9a7 Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Sun, 24 Feb 2019 23:33:12 -0700 Subject: [PATCH] Update Timeline component, defer notifications until timeline is loaded --- resources/assets/js/components/Timeline.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/assets/js/components/Timeline.vue b/resources/assets/js/components/Timeline.vue index a013b56e5..25b73b087 100644 --- a/resources/assets/js/components/Timeline.vue +++ b/resources/assets/js/components/Timeline.vue @@ -341,7 +341,6 @@ mounted() { this.$nextTick(function () { $('[data-toggle="tooltip"]').tooltip() - this.fetchNotifications(); }); }, @@ -379,6 +378,7 @@ } $('.timeline .pagination').removeClass('d-none'); this.loading = false; + this.fetchNotifications(); }).catch(err => { }); },