You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by ms...@apache.org on 2025/05/22 08:59:32 UTC

(superset) 01/01: fix(theming): duplicate select values bug

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

msyavuz pushed a commit to branch msyavuz/fix/select-duplicate-options
in repository https://gitbox.apache.org/repos/asf/superset.git

commit c3f91fabc370a6504f62453a80363ddd08439ab2
Author: Mehmet Salih Yavuz <sa...@proton.me>
AuthorDate: Thu May 22 11:57:57 2025 +0300

    fix(theming): duplicate select values bug
---
 .../ConditionalFormattingControl/FormattingPopoverContent.tsx        | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/superset-frontend/src/explore/components/controls/ConditionalFormattingControl/FormattingPopoverContent.tsx b/superset-frontend/src/explore/components/controls/ConditionalFormattingControl/FormattingPopoverContent.tsx
index dc21c9079d..3fc6d6d102 100644
--- a/superset-frontend/src/explore/components/controls/ConditionalFormattingControl/FormattingPopoverContent.tsx
+++ b/superset-frontend/src/explore/components/controls/ConditionalFormattingControl/FormattingPopoverContent.tsx
@@ -46,11 +46,8 @@ const JustifyEnd = styled.div`
 
 const colorSchemeOptions = (theme: SupersetTheme) => [
   { value: theme.colorSuccessBg, label: t('success') },
-  { value: theme.colorErrorBg, label: t('alert') },
+  { value: theme.colorWarningBg, label: t('alert') },
   { value: theme.colorErrorBg, label: t('error') },
-  { value: theme.colorSuccessText, label: t('success dark') },
-  { value: theme.colorErrorText, label: t('alert dark') },
-  { value: theme.colorErrorText, label: t('error dark') },
 ];
 
 const operatorOptions = [