mirror of
https://github.com/apache/superset.git
synced 2026-04-20 08:34:37 +00:00
chore: update UI dev libs and fix warnings & vulnerabilities (#24648)
This commit is contained in:
@@ -30,7 +30,7 @@ export function parseYAxisBound(
|
||||
}
|
||||
|
||||
export function parseNumbersList(value: string, delim = ';') {
|
||||
if (!value || !value.trim()) return [];
|
||||
if (!value?.trim()) return [];
|
||||
return value.split(delim).map(num => {
|
||||
if (validateNumber(num)) throw new Error('All values must be numeric');
|
||||
return Number(num);
|
||||
|
||||
Reference in New Issue
Block a user