From 7fa3013e2fac72a1a48e1ca270f6afe51eac101b Mon Sep 17 00:00:00 2001 From: Emanuel <34749913+emanuel-sol@users.noreply.github.com> Date: Thu, 20 Oct 2022 10:03:44 -0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=97=91=EF=B8=8F=20Make=20pagination=20str?= =?UTF-8?q?ategy=20not=20selectable=20in=20UI=20(#3229)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 🗑️ Make pagination strategy not selectable in UI * Update src/composables/useStrategies.ts Co-authored-by: Sam <51686767+samuveth@users.noreply.github.com> Co-authored-by: Sam <51686767+samuveth@users.noreply.github.com> --- src/composables/useStrategies.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/composables/useStrategies.ts b/src/composables/useStrategies.ts index b6f33bd2218..c2445b37628 100644 --- a/src/composables/useStrategies.ts +++ b/src/composables/useStrategies.ts @@ -41,6 +41,10 @@ export function useStrategies() { 'strategies' ); + strategies.value = strategies.value.filter( + strategy => strategy.id !== 'pagination' + ); + loadingStrategies.value = false; }