diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2019-05-21 08:23:37 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2019-05-21 08:23:37 +0900 |
| commit | f128813a5e20d88bb2dc85866371d98dbffc5974 (patch) | |
| tree | 86d6fc2a6fa9093f9135392ffd82395f8cf6c313 /src/client | |
| parent | Fix (diff) | |
| download | misskey-f128813a5e20d88bb2dc85866371d98dbffc5974.tar.gz misskey-f128813a5e20d88bb2dc85866371d98dbffc5974.tar.bz2 misskey-f128813a5e20d88bb2dc85866371d98dbffc5974.zip | |
Fix
Diffstat (limited to 'src/client')
| -rw-r--r-- | src/client/app/common/views/deck/deck.notifications.vue | 9 |
1 files 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); - }, } }; }, |