mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-03-22 12:03:39 +00:00
Update MkTimeline.vue
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user