From f128813a5e20d88bb2dc85866371d98dbffc5974 Mon Sep 17 00:00:00 2001 From: syuilo Date: Tue, 21 May 2019 08:23:37 +0900 Subject: [PATCH] Fix --- src/client/app/common/views/deck/deck.notifications.vue | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/client/app/common/views/deck/deck.notifications.vue b/src/client/app/common/views/deck/deck.notifications.vue index 40411e07c3..e01d0023f6 100644 --- a/src/client/app/common/views/deck/deck.notifications.vue +++ b/src/client/app/common/views/deck/deck.notifications.vue @@ -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); - }, } }; },