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 Apr 12, 2021
1 parent c8a2f51 commit 55e4973
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 55e4973

Please sign in to comment.