summaryrefslogtreecommitdiffhomepage
path: root/contrib
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2015-10-03 11:40:09 +0200
committerJo-Philipp Wich <jow@openwrt.org>2015-10-03 11:40:12 +0200
commit59d2f60a4206d6ac9e2c261ee75548973788549b (patch)
tree0aa9f5659dcf438a7ae6e3f60e1eb47d0033d2b6 /contrib
parentecd460f79f34843904b16d45b42079d60b30bd70 (diff)
luci-app-statistics: only render index view for more than one instance
If a plugin produces only one instance, e.g. netlink with just one interface configured, then the controller will register no detail views which would normally show all graphs but the index pacage of a given plugin will still display the collapsed view without any possibility to reach the full listing. Fix the problem by only rendering a linked index view when more than one instance is present. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
Diffstat (limited to 'contrib')
0 files changed, 0 insertions, 0 deletions