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

View file

@ -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 => {
});
},