Skip to content

Commit

Permalink
Make chart exclude itself from cross filtering
Browse files Browse the repository at this point in the history
  • Loading branch information
kgabryje committed Apr 9, 2021
1 parent a3b41e2 commit b929cb6
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 b929cb6

Please sign in to comment.