Improve warp
This commit is contained in:
parent
8aaab195c6
commit
fda8cf77ed
7 changed files with 47 additions and 7 deletions
|
|
@ -123,7 +123,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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue