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

View File

@ -72,7 +72,7 @@ export default Vue.extend({
fetchMoreUsers() { fetchMoreUsers() {
this.fetchingMoreUsers = true; this.fetchingMoreUsers = true;
this.makePromise(this.cursor).then(x => { this.makePromise(this.cursor).then(x => {
this.us = x.users; this.us = this.us.concat(x.users);
this.cursor = x.cursor; this.cursor = x.cursor;
this.fetchingMoreUsers = false; this.fetchingMoreUsers = false;
}, e => { }, e => {
@ -139,4 +139,23 @@ export default Vue.extend({
opacity 0.7 opacity 0.7
font-size 14px 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> </style>