1
1
mirror of https://github.com/kokonect-link/cherrypick synced 2024-11-02 08:05:58 +09:00
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

View File

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