Merge branch 'develop'

This commit is contained in:
syuilo
2019-04-18 22:01:45 +09:00
39 changed files with 556 additions and 260 deletions

View File

@ -124,7 +124,7 @@ export default Vue.extend({
},
fetchMore() {
if (!this.more || this.moreFetching) return;
if (!this.more || this.moreFetching || this.notes.length === 0) return;
this.moreFetching = true;
this.makePromise(this.notes[this.notes.length - 1].id).then(x => {
this.notes = this.notes.concat(x.notes);