mirror of
https://github.com/apache/superset.git
synced 2026-04-19 08:04:53 +00:00
Make chart exclude itself from cross filtering (#14046)
This commit is contained in:
committed by
GitHub
parent
d6bd160250
commit
bf22487e23
@@ -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 => {
|
||||
|
||||
Reference in New Issue
Block a user