Browse Source

fix: pass abstract type when extracting component for filter input

pull/7398/head
Pranav C 10 months ago
parent
commit
f68c79a6e0
  1. 4
      packages/nc-gui/components/smartsheet/toolbar/FilterInput.vue

4
packages/nc-gui/components/smartsheet/toolbar/FilterInput.vue

@ -70,7 +70,7 @@ provide(EditModeInj, readonly(editEnabled))
provide(ReadonlyInj, ref(false)) provide(ReadonlyInj, ref(false))
const checkTypeFunctions = { const checkTypeFunctions: Record<string, (column: ColumnType, abstractType?: string) => boolean> = {
isSingleSelect, isSingleSelect,
isMultiSelect, isMultiSelect,
isDate, isDate,
@ -106,7 +106,7 @@ const checkType = (filterType: FilterType) => {
return false return false
} }
return checkTypeFunction(column.value, abstractType) return checkTypeFunction(column.value, abstractType.value)
} }
const filterInput = computed({ const filterInput = computed({

Loading…
Cancel
Save