luci-app-statistics: df.js: fix null access in configSummary()

Fixes: #3657
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
This commit is contained in:
Jo-Philipp Wich 2020-02-21 08:49:05 +01:00
parent 756c894d70
commit c16f91ccb9

View file

@ -95,7 +95,7 @@ return L.Class.extend({
var devs = L.toArray(section.Devices),
mounts = L.toArray(section.MountPoints),
fstypes = L.toArray(section.FSTypes),
count = devs.length + mounts.length + count.length,
count = devs.length + mounts.length + fstypes.length,
invert = section.IgnoreSelected == '1';
if (count == 0)