fix(Mixed Chart Filter Control): Allow delete condition for `adhoc_filters_b` (#28771)

This commit is contained in:
Ross Mabbett 2024-05-31 17:44:37 -04:00 committed by GitHub
parent a608bdb8d4
commit 35e1820f8a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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>[],