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:
parent
756c894d70
commit
c16f91ccb9
1 changed files with 1 additions and 1 deletions
|
@ -95,7 +95,7 @@ return L.Class.extend({
|
||||||
var devs = L.toArray(section.Devices),
|
var devs = L.toArray(section.Devices),
|
||||||
mounts = L.toArray(section.MountPoints),
|
mounts = L.toArray(section.MountPoints),
|
||||||
fstypes = L.toArray(section.FSTypes),
|
fstypes = L.toArray(section.FSTypes),
|
||||||
count = devs.length + mounts.length + count.length,
|
count = devs.length + mounts.length + fstypes.length,
|
||||||
invert = section.IgnoreSelected == '1';
|
invert = section.IgnoreSelected == '1';
|
||||||
|
|
||||||
if (count == 0)
|
if (count == 0)
|
||||||
|
|
Loading…
Reference in a new issue