fix(json-schema-2020-12): use consistent comparison operators for displaying min/max constraints (#10159)
This commit is contained in:
@@ -295,10 +295,10 @@ const stringifyConstraintRange = (label, min, max) => {
|
||||
}
|
||||
}
|
||||
if (hasMin) {
|
||||
return `>= ${min} ${label}`
|
||||
return `≥ ${min} ${label}`
|
||||
}
|
||||
if (hasMax) {
|
||||
return `<= ${max} ${label}`
|
||||
return `≤ ${max} ${label}`
|
||||
}
|
||||
|
||||
return null
|
||||
|
||||
Reference in New Issue
Block a user