fix(striker-ui): correct defaults for display values in each input validation

main
Tsu-ba-me 3 years ago
parent 0c76873e75
commit 5b638444f2
  1. 4
      striker-ui/lib/test_input/testInput.ts

@ -61,11 +61,11 @@ const testInput: TestInputFunction = ({
tests: requiredTests,
} = tests[id];
const {
displayMax = dDisplayMax ?? String(dMax),
displayMin = dDisplayMin ?? String(dMin),
max = dMax,
min = dMin,
value = dValue,
displayMax = dDisplayMax || String(max),
displayMin = dDisplayMin || String(min),
} = testsToRun[id];
const { cbFinishBatch } = setBatchCallback({ onFinishBatch });

Loading…
Cancel
Save