diff --git a/src/components/search-wizard/AdvancedFilter.jsx b/src/components/search-wizard/AdvancedFilter.jsx index 02043c52..c4823d41 100644 --- a/src/components/search-wizard/AdvancedFilter.jsx +++ b/src/components/search-wizard/AdvancedFilter.jsx @@ -157,6 +157,11 @@ export default function AdvancedFilter({ visible }) { ]); const getFilterComponent = (filterType) => { + if (!filterTypes[filterType]) { + console.warn(`No filter type found for ${filterType}`); + + return null; + } const { Component, props } = filterTypes[filterType]; return ;