diff --git a/superset-frontend/src/dashboard/components/nativeFilters/FiltersConfigModal/FiltersConfigForm/FiltersConfigForm.tsx b/superset-frontend/src/dashboard/components/nativeFilters/FiltersConfigModal/FiltersConfigForm/FiltersConfigForm.tsx index e5802414955c7..d617e51e48774 100644 --- a/superset-frontend/src/dashboard/components/nativeFilters/FiltersConfigModal/FiltersConfigForm/FiltersConfigForm.tsx +++ b/superset-frontend/src/dashboard/components/nativeFilters/FiltersConfigModal/FiltersConfigForm/FiltersConfigForm.tsx @@ -651,7 +651,7 @@ const FiltersConfigForm = ( const hasAvailableFilters = availableFilters.length > 0; const hasTimeDependency = availableFilters .filter(filter => filter.type === 'filter_time') - .some(filter => dependencies.includes(filter.value)); + .some(filter => dependencies?.includes(filter.value)); useEffect(() => { if (datasetId) {