Skip to content

Commit

Permalink
Make chart exclude itself from cross filtering (apache#14046)
Browse files Browse the repository at this point in the history
  • Loading branch information
kgabryje authored and Allan Caetano de Oliveira committed May 21, 2021
1 parent c298725 commit d30f17b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ export const getAllActiveFilters = ({
const scope = nativeFilters?.[filterId]?.scope ??
chartConfiguration?.[filterId]?.crossFilters?.scope ?? {
rootPath: [DASHBOARD_ROOT_ID],
excluded: [],
excluded: [filterId],
};
// Iterate over all roots to find all affected charts
scope.rootPath.forEach(layoutItemId => {
Expand Down

0 comments on commit d30f17b

Please sign in to comment.