mirror of https://github.com/pixelfed/pixelfed.git
Update Timeline component, defer notifications until timeline is loaded
This commit is contained in:
parent
cbf57b73f9
commit
d76886e041
|
@ -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 => {
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue