Update MkTimeline.vue
This commit is contained in:
		
							parent
							
								
									dc0b197d4a
								
							
						
					
					
						commit
						d3bc92daff
					
				packages/frontend/src/components
|  | @ -114,9 +114,10 @@ if (!store.s.realtimeMode) { | |||
| 		const notes = await misskeyApi(paginationQuery.endpoint, { | ||||
| 			...paginationQuery.params, | ||||
| 			limit: 10, | ||||
| 			sinceId: Array.from(paginator.items.value.keys()).at(-1), | ||||
| 			sinceId: Array.from(paginator.items.value.keys()).at(0), | ||||
| 		}); | ||||
| 		console.log(notes); | ||||
| 		paginator.unshiftItems(notes.toReversed()); | ||||
| 	}, POLLING_INTERVAL, { | ||||
| 		immediate: false, | ||||
| 		afterMounted: true, | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue