From f68c79a6e008fc8a92df84e71f98a04b03bca718 Mon Sep 17 00:00:00 2001 From: Pranav C Date: Wed, 10 Jan 2024 13:07:48 +0000 Subject: [PATCH] fix: pass abstract type when extracting component for filter input --- packages/nc-gui/components/smartsheet/toolbar/FilterInput.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/nc-gui/components/smartsheet/toolbar/FilterInput.vue b/packages/nc-gui/components/smartsheet/toolbar/FilterInput.vue index 67837744fa..0ced9864d0 100644 --- a/packages/nc-gui/components/smartsheet/toolbar/FilterInput.vue +++ b/packages/nc-gui/components/smartsheet/toolbar/FilterInput.vue @@ -70,7 +70,7 @@ provide(EditModeInj, readonly(editEnabled)) provide(ReadonlyInj, ref(false)) -const checkTypeFunctions = { +const checkTypeFunctions: Record boolean> = { isSingleSelect, isMultiSelect, isDate, @@ -106,7 +106,7 @@ const checkType = (filterType: FilterType) => { return false } - return checkTypeFunction(column.value, abstractType) + return checkTypeFunction(column.value, abstractType.value) } const filterInput = computed({