Skip to content

Commit

Permalink
fix: allow for dependencies that could be undefined (#23682)
Browse files Browse the repository at this point in the history
  • Loading branch information
eschutho authored Apr 13, 2023
1 parent a04e635 commit 2625017
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 2625017

Please sign in to comment.