From 8d9415b3ab5b6e7bb5cdd27ecf7e56a21b63db21 Mon Sep 17 00:00:00 2001 From: Natty Date: Wed, 28 Feb 2024 02:48:02 +0100 Subject: [PATCH] Slicing the wrong buffer --- fe_calckey/frontend/client/src/components/MkTimeline.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fe_calckey/frontend/client/src/components/MkTimeline.vue b/fe_calckey/frontend/client/src/components/MkTimeline.vue index edcea4b..21b439b 100644 --- a/fe_calckey/frontend/client/src/components/MkTimeline.vue +++ b/fe_calckey/frontend/client/src/components/MkTimeline.vue @@ -53,7 +53,7 @@ const prependMany = async () => { debounceBuffer = []; if (!tlComponent.value?.pagingComponent?.isFresh()) { - items = debounceBuffer.slice(-displayLimit); + items = items.slice(-displayLimit); } const notes = (