Merge pull request #1575 from mei23/mei-listlm
Fix list load-more is not working
This commit is contained in:
		
						commit
						6b0a42af27
					
				
					 2 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
					@ -62,7 +62,7 @@ export default Vue.extend({
 | 
				
			||||||
		more() {
 | 
							more() {
 | 
				
			||||||
			this.moreFetching = true;
 | 
								this.moreFetching = true;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
			(this as any).api('notes/list-timeline', {
 | 
								(this as any).api('notes/user-list-timeline', {
 | 
				
			||||||
				listId: this.list.id,
 | 
									listId: this.list.id,
 | 
				
			||||||
				limit: fetchLimit + 1,
 | 
									limit: fetchLimit + 1,
 | 
				
			||||||
				untilId: (this.$refs.timeline as any).tail().id,
 | 
									untilId: (this.$refs.timeline as any).tail().id,
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -62,7 +62,7 @@ export default Vue.extend({
 | 
				
			||||||
		more() {
 | 
							more() {
 | 
				
			||||||
			this.moreFetching = true;
 | 
								this.moreFetching = true;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
			(this as any).api('notes/list-timeline', {
 | 
								(this as any).api('notes/user-list-timeline', {
 | 
				
			||||||
				listId: this.list.id,
 | 
									listId: this.list.id,
 | 
				
			||||||
				limit: fetchLimit + 1,
 | 
									limit: fetchLimit + 1,
 | 
				
			||||||
				untilId: (this.$refs.timeline as any).tail().id,
 | 
									untilId: (this.$refs.timeline as any).tail().id,
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue