Skip to content
Commit 59d2f60a authored by Jo-Philipp Wich's avatar Jo-Philipp Wich
Browse files

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: default avatarJo-Philipp Wich <jow@openwrt.org>
parent ecd460f7
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment