luci-app-statistics: fix process graph tab captions
authorJo-Philipp Wich <jo@mein.io>
Fri, 22 Oct 2021 22:29:52 +0000 (00:29 +0200)
committerJo-Philipp Wich <jo@mein.io>
Fri, 22 Oct 2021 22:34:15 +0000 (00:34 +0200)
commit92e21ba6068f1b23fe5f0e88590a5bcc7662db15
tree4d18c654366cdf886c0e5c88291be73561df400b
parent13df80d4298b4bb89b8e1c985e1e4dbf9fa6eee7
luci-app-statistics: fix process graph tab captions

Plugins that provide both detail and non-detail instances led to a mismatch
between the instance list to render and the plugin instance list, causing
tab captions to be wrongly assigned.

Fixes: #5387
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit e9039ae8f552eb92166da279aa9a4d5b1daa99b5)
applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/graphs.js