You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by mi...@apache.org on 2023/09/06 13:50:51 UTC
[superset] 03/03: fix: All values being selected in Select (#25202)
This is an automated email from the ASF dual-hosted git repository.
michaelsmolina pushed a commit to branch 3.0
in repository https://gitbox.apache.org/repos/asf/superset.git
commit d8c72b86bc6c1dfe461f4593a1eb1538c93c7e4e
Author: Michael S. Molina <70...@users.noreply.github.com>
AuthorDate: Wed Sep 6 10:37:21 2023 -0300
fix: All values being selected in Select (#25202)
(cherry picked from commit e605d6dddff489b84d6bd739ad115e41f382ca62)
---
superset-frontend/src/components/Select/Select.tsx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/superset-frontend/src/components/Select/Select.tsx b/superset-frontend/src/components/Select/Select.tsx
index 770ef1df4a..89c62ef8bd 100644
--- a/superset-frontend/src/components/Select/Select.tsx
+++ b/superset-frontend/src/components/Select/Select.tsx
@@ -208,13 +208,13 @@ const Select = forwardRef(
() =>
!isSingleMode &&
allowSelectAll &&
- fullSelectOptions.length > 0 &&
+ selectOptions.length > 0 &&
enabledOptions.length > 1 &&
!inputValue,
[
isSingleMode,
allowSelectAll,
- fullSelectOptions.length,
+ selectOptions.length,
enabledOptions.length,
inputValue,
],