From 902d9bc7a5504d4582be873f6551160df8aea0d7 Mon Sep 17 00:00:00 2001 From: syuilo Date: Sat, 16 Feb 2019 16:39:34 +0900 Subject: [PATCH] Fix bug --- .../app/common/views/components/user-list.vue | 21 ++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/src/client/app/common/views/components/user-list.vue b/src/client/app/common/views/components/user-list.vue index 5d851002d..8541e8543 100644 --- a/src/client/app/common/views/components/user-list.vue +++ b/src/client/app/common/views/components/user-list.vue @@ -72,7 +72,7 @@ export default Vue.extend({ fetchMoreUsers() { this.fetchingMoreUsers = true; this.makePromise(this.cursor).then(x => { - this.us = x.users; + this.us = this.us.concat(x.users); this.cursor = x.cursor; this.fetchingMoreUsers = false; }, e => { @@ -139,4 +139,23 @@ export default Vue.extend({ opacity 0.7 font-size 14px + > .more + display block + width 100% + padding 16px + color var(--text) + border-top solid var(--lineWidth) rgba(#000, 0.05) + + &:hover + background rgba(#000, 0.025) + + &:active + background rgba(#000, 0.05) + + &.fetching + cursor wait + + > [data-icon] + margin-right 4px +