Skip to content

Commit

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

Please sign in to comment.