Skip to content

Commit

Permalink
fix(native-filter): fix required Filters of a Dashboard won't load pr…
Browse files Browse the repository at this point in the history
…operly
  • Loading branch information
stephenLYZ committed Feb 13, 2022
1 parent 225015f commit b468168
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,9 @@ const FilterBar: React.FC<FiltersBarProps> = ({
const currentTargets = currentFilter.targets;
const currentDataMask = currentFilter.defaultDataMask;
const previousFilter = previousFilters?.[currentFilter.id];
if (!previousFilter) {
return;
}
const previousType = previousFilter?.filterType;
const previousTargets = previousFilter?.targets;
const previousDataMask = previousFilter?.defaultDataMask;
Expand Down

0 comments on commit b468168

Please sign in to comment.