diff options
author | Jo-Philipp Wich <jo@mein.io> | 2020-02-21 08:49:05 +0100 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2020-02-21 08:57:29 +0100 |
commit | c16f91ccb9d28689f9c4fb2b2c35911a6c60fd2a (patch) | |
tree | 448b3523c86029e8d999f8f08f66677a12f9ecf1 /applications/luci-app-statistics/htdocs/luci-static/resources/view | |
parent | 756c894d7097cc1885df85a8dcfe803e53db2086 (diff) |
luci-app-statistics: df.js: fix null access in configSummary()
Fixes: #3657
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'applications/luci-app-statistics/htdocs/luci-static/resources/view')
-rw-r--r-- | applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/df.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/df.js b/applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/df.js index fafe4afe16..2d317d38fb 100644 --- a/applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/df.js +++ b/applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/df.js @@ -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) |