This commit is contained in:
syuilo 2019-02-16 16:39:34 +09:00
parent a56f3f1d89
commit 902d9bc7a5
No known key found for this signature in database
GPG Key ID: BDC4C49D06AB9D69
1 changed files with 20 additions and 1 deletions

View File

@ -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
</style>