Update Timeline component, defer notifications until timeline is loaded

This commit is contained in:
Daniel Supernault 2019-02-24 23:33:12 -07:00
parent cbf57b73f9
commit d76886e041
No known key found for this signature in database
GPG Key ID: 0DEF1C662C9033F7
1 changed files with 1 additions and 1 deletions

View File

@ -341,7 +341,6 @@
mounted() { mounted() {
this.$nextTick(function () { this.$nextTick(function () {
$('[data-toggle="tooltip"]').tooltip() $('[data-toggle="tooltip"]').tooltip()
this.fetchNotifications();
}); });
}, },
@ -379,6 +378,7 @@
} }
$('.timeline .pagination').removeClass('d-none'); $('.timeline .pagination').removeClass('d-none');
this.loading = false; this.loading = false;
this.fetchNotifications();
}).catch(err => { }).catch(err => {
}); });
}, },