feat(dashboard): Add cross filter from context menu (#23141)

This commit is contained in:
Kamil Gabryjelski
2023-02-23 17:05:41 +01:00
committed by GitHub
parent 95eb8d79d0
commit ee1952e488
26 changed files with 896 additions and 753 deletions

View File

@@ -87,7 +87,8 @@ class ChartRenderer extends React.Component {
this.state = {
showContextMenu:
props.source === ChartSource.Dashboard &&
isFeatureEnabled(FeatureFlag.DRILL_TO_DETAIL),
(isFeatureEnabled(FeatureFlag.DRILL_TO_DETAIL) ||
isFeatureEnabled(FeatureFlag.DASHBOARD_CROSS_FILTERS)),
inContextMenu: false,
};
this.hasQueryResponseChange = false;