From a9acd72eb7438c87206086942f43b60edd0be1ab Mon Sep 17 00:00:00 2001 From: tamaina Date: Sun, 15 Jan 2023 14:28:02 +0000 Subject: [PATCH] fix(client): Fix #9600 chat paging issue Previous chat history not shown --- packages/frontend/src/components/MkPagination.vue | 4 ---- 1 file changed, 4 deletions(-) diff --git a/packages/frontend/src/components/MkPagination.vue b/packages/frontend/src/components/MkPagination.vue index 2b3ccb88ce..04c8616c9a 100644 --- a/packages/frontend/src/components/MkPagination.vue +++ b/packages/frontend/src/components/MkPagination.vue @@ -194,8 +194,6 @@ const fetchMore = async (): Promise => { limit: SECOND_FETCH_LIMIT + 1, ...(props.pagination.offsetMode ? { offset: offset.value, - } : props.pagination.reversed ? { - sinceId: items.value[0].id, } : { untilId: items.value[items.value.length - 1].id, }), @@ -262,8 +260,6 @@ const fetchMoreAhead = async (): Promise => { limit: SECOND_FETCH_LIMIT + 1, ...(props.pagination.offsetMode ? { offset: offset.value, - } : props.pagination.reversed ? { - untilId: items.value[0].id, } : { sinceId: items.value[items.value.length - 1].id, }),