luci-app-statistics: fix APC UPS host configuration
authorJo-Philipp Wich <jo@mein.io>
Mon, 26 Apr 2021 15:38:48 +0000 (17:38 +0200)
committerJo-Philipp Wich <jo@mein.io>
Mon, 26 Apr 2021 15:40:23 +0000 (17:40 +0200)
commitdd5d96afdba698e11d12880f4adf28e24a140305
tree507da96c057626877b9cb6004947d90f927823b9
parent52297b1359e22a68b8a7f99666a7bf237909d156
luci-app-statistics: fix APC UPS host configuration

Ensure that list of hosts is stored as space separated list, like it was
done in the previous Lua implementation.

Fixes: #5010
Fixes: e7d22dce5 ("luci-app-statistics: convert collectd configuration to client side views")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/apcups.js