From a985dc29404fbb213b17e03f922057c12889ede4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alberto=20Monedero=20Mart=C3=ADn?= Date: Wed, 13 Mar 2024 12:56:37 +0100 Subject: [PATCH] fix: using .value in second part of columns conditional so columns.value is always array (#462) --- src/components/column-picker.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/column-picker.vue b/src/components/column-picker.vue index 96a1ee54..0a4d2d8e 100644 --- a/src/components/column-picker.vue +++ b/src/components/column-picker.vue @@ -38,11 +38,11 @@ const { getControlFromPath } = useExperienceControls(); const columns = computed(() => - isMobile.value ? [2, 1] : getControlFromPath('layout.columnSelector', [4, 2]) + isMobile.value ? [2, 1] : getControlFromPath('layout.columnSelector', [4, 2]).value ); return { - values: columns.value, + values: columns, icons: { 1: 'Grid1ColIcon', 2: 'Grid2ColIcon', 4: 'Grid4ColIcon' } }; }