This is an automated email from the ASF dual-hosted git repository.

michaelsmolina pushed a commit to branch 4.0
in repository https://gitbox.apache.org/repos/asf/superset.git

commit 36383bd0ce3a9face026b11dadbcc63f5d898c0b
Author: Ross Mabbett <[email protected]>
AuthorDate: Fri May 31 17:44:37 2024 -0400

    fix(Mixed Chart Filter Control): Allow delete condition for 
`adhoc_filters_b` (#28771)
    
    (cherry picked from commit 35e1820f8a6a27fd66e581e0702458eb9db7386b)
---
 superset-frontend/src/explore/components/ControlPanelsContainer.tsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/superset-frontend/src/explore/components/ControlPanelsContainer.tsx 
b/superset-frontend/src/explore/components/ControlPanelsContainer.tsx
index 57200cf07e..1d12d5e32f 100644
--- a/superset-frontend/src/explore/components/ControlPanelsContainer.tsx
+++ b/superset-frontend/src/explore/components/ControlPanelsContainer.tsx
@@ -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>[],

Reply via email to