From ad7bf0529165d04aa46a5fb6fab8672902411eb9 Mon Sep 17 00:00:00 2001 From: Ahmed Awan Date: Mon, 19 Feb 2024 11:36:14 -0600 Subject: [PATCH] remove `immediate` flag from `isScrollable` check This caused a jest to fail because we tried to access the `filtered` computed array before it was even initialized. --- client/src/components/History/HistoryScrollList.vue | 3 --- 1 file changed, 3 deletions(-) diff --git a/client/src/components/History/HistoryScrollList.vue b/client/src/components/History/HistoryScrollList.vue index 71b5636fa469..0ecf471bf318 100644 --- a/client/src/components/History/HistoryScrollList.vue +++ b/client/src/components/History/HistoryScrollList.vue @@ -89,9 +89,6 @@ watch( if (!scrollable && !allLoaded.value) { loadMore(); } - }, - { - immediate: true, } );