mirror of
https://github.com/apache/superset.git
synced 2026-05-12 19:35:17 +00:00
fix: front end CI tests and test runner (#10897)
This commit is contained in:
committed by
GitHub
parent
c3f1720456
commit
13cc1a3d2d
@@ -67,10 +67,10 @@ export default class BoundsControl extends React.Component {
|
||||
onChange() {
|
||||
const mm = this.state.minMax;
|
||||
const errors = [];
|
||||
if (mm[0] && Number.isNaN(mm[0])) {
|
||||
if (mm[0] && Number.isNaN(Number(mm[0]))) {
|
||||
errors.push(t('`Min` value should be numeric or empty'));
|
||||
}
|
||||
if (mm[1] && Number.isNaN(mm[1])) {
|
||||
if (mm[1] && Number.isNaN(Number(mm[1]))) {
|
||||
errors.push(t('`Max` value should be numeric or empty'));
|
||||
}
|
||||
if (errors.length === 0) {
|
||||
|
||||
Reference in New Issue
Block a user