fix: provide initial value to avoid reducing empty array

See https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Errors/Reduce_of_empty_array_with_no_initial_value
This commit is contained in:
Nick Krecklow
2021-06-07 11:51:47 -05:00
parent af2301495e
commit 0f297b72a8
4 changed files with 8 additions and 5 deletions

@ -1,3 +1,6 @@
**5.6.0** *(June 7 2021)*
- Fixed a regression caused by rendering error fixed in 5.5.9. See https://github.com/Cryptkeeper/Minetrack/issues/257
**5.5.9** *(May 31 2021)*
- Added configuration option to enable/disable ping failure logging.
- Fixed a rendering error when the primary historical graph has too many data points.