From d905dacf97272903f8d9d962bcee25bc3409ba79 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Tue, 20 Aug 2019 15:15:12 +0200 Subject: [PATCH] luci-base: ui.js: update tabs after initial render This ensures that the error badges are properly set. Signed-off-by: Jo-Philipp Wich --- modules/luci-base/htdocs/luci-static/resources/ui.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/luci-base/htdocs/luci-static/resources/ui.js b/modules/luci-base/htdocs/luci-static/resources/ui.js index 633707b2b6..3444549e04 100644 --- a/modules/luci-base/htdocs/luci-static/resources/ui.js +++ b/modules/luci-base/htdocs/luci-static/resources/ui.js @@ -1660,6 +1660,8 @@ return L.Class.extend({ this.setActiveTabId(panes[selected], selected); } + + this.updateTabs(group); }, isEmptyPane: function(pane) { -- 2.30.2