This commit is contained in:
syuilo 2019-05-21 08:23:37 +09:00
parent 699a55ea08
commit f128813a5e
No known key found for this signature in database
GPG Key ID: BDC4C49D06AB9D69
1 changed files with 5 additions and 4 deletions

View File

@ -40,7 +40,11 @@ export default Vue.extend({
inject: ['column', 'isScrollTop', 'count'],
mixins: [
paging({}),
paging({
onQueueChanged: (self, q) => {
self.count(q.length);
},
}),
],
data() {
@ -49,9 +53,6 @@ export default Vue.extend({
pagination: {
endpoint: 'i/notifications',
limit: 20,
onQueueChanged: (self, q) => {
self.count(q.length);
},
}
};
},