From 9e8cd12e4f9ae654ebd46401bfdaac28acf2d512 Mon Sep 17 00:00:00 2001 From: acondal Date: Tue, 7 Nov 2023 13:47:28 +0100 Subject: [PATCH] chore: rm test useXControls feat from custom-next-query-preview EMP-2722 --- .../search/results/custom-next-query-preview.vue | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/components/search/results/custom-next-query-preview.vue b/src/components/search/results/custom-next-query-preview.vue index a305fac8..17f3dbde 100644 --- a/src/components/search/results/custom-next-query-preview.vue +++ b/src/components/search/results/custom-next-query-preview.vue @@ -45,7 +45,6 @@ import Result from '../../results/result.vue'; import CustomSlidingPanel from '../../custom-sliding-panel.vue'; import DisplayClickProvider from '../display-click-provider.vue'; - import { useXControlsHelpers } from '../../../composables/use-experience-controls.composable'; export default defineComponent({ components: { @@ -62,12 +61,7 @@ }, setup() { const { isTabletOrLess } = useDevice(); - const maxItems = useXControlsHelpers({ - path: 'nextQueries.maxItems' as never, - defaultValue: 5 - }); - - const maxItemsToRender = computed(() => (isTabletOrLess.value ? undefined : maxItems)); + const maxItemsToRender = computed(() => (isTabletOrLess.value ? undefined : 5)); return { maxItemsToRender };