Skip to content

Commit

Permalink
fix(Mixed Chart Filter Control): Allow delete condition for `adhoc_fi…
Browse files Browse the repository at this point in the history
…lters_b` (#28771)
  • Loading branch information
rtexelm authored May 31, 2024
1 parent a608bdb commit 35e1820
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -485,7 +485,7 @@ export const ControlPanelsContainer = (props: ControlPanelsContainerProps) => {
? baseDescription(exploreState, controls[name], chart)
: baseDescription;

if (name === 'adhoc_filters') {
if (name.includes('adhoc_filters')) {
restProps.canDelete = (
valueToBeDeleted: Record<string, any>,
values: Record<string, any>[],
Expand Down

0 comments on commit 35e1820

Please sign in to comment.