mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
[Rollups] Fix rollup job wizard bug: coerce histogram interval to Number for validation. (#27413) (#27460)
This commit is contained in:
parent
2a67310cb9
commit
ff0089c083
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ export function validateHistogramInterval(histogram, histogramInterval) {
|
|||
)];
|
||||
}
|
||||
|
||||
if (Math.round(histogramInterval) !== histogramInterval) {
|
||||
if (Math.round(histogramInterval) !== Number(histogramInterval)) {
|
||||
return [(
|
||||
<FormattedMessage
|
||||
id="xpack.rollupJobs.create.errors.histogramIntervalWholeNumber"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue