From 0303a2f4bd1a55b7a733a0a2a666f6b2b792b99f Mon Sep 17 00:00:00 2001 From: Chaitanya Date: Wed, 27 Oct 2021 14:17:33 +0530 Subject: [PATCH] Hide strategies having alias --- src/composables/useSearchFilters.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/composables/useSearchFilters.ts b/src/composables/useSearchFilters.ts index 3c3b64e5d1f0..bf17ec28f1db 100644 --- a/src/composables/useSearchFilters.ts +++ b/src/composables/useSearchFilters.ts @@ -28,6 +28,7 @@ export function useSearchFilters() { ); const filteredStrategies = (q = '') => minifiedStrategiesArray.value + .filter(s => !s.alias) .filter(s => s.key.toLowerCase().includes(q.toLowerCase())) .sort((a, b) => b.spaces - a.spaces);