mirror of
https://github.com/apache/superset.git
synced 2026-04-23 01:55:09 +00:00
chore: Changes the RefreshIntervalModal component to use the new select component (#16048)
This commit is contained in:
committed by
GitHub
parent
423ff50768
commit
e59f318ef9
@@ -217,7 +217,7 @@ const Select = ({
|
||||
const handleTopOptions = useCallback(
|
||||
(selectedValue: AntdSelectValue | undefined) => {
|
||||
// bringing selected options to the top of the list
|
||||
if (selectedValue) {
|
||||
if (selectedValue !== undefined && selectedValue !== null) {
|
||||
const topOptions: OptionsType = [];
|
||||
const otherOptions: OptionsType = [];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user