We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e3771f0 commit e4bcd2bCopy full SHA for e4bcd2b
1 file changed
saltgui/static/scripts/Router.js
@@ -273,9 +273,15 @@ export class Router {
273
for (let nr = 1; nr <= 2; nr++) {
274
const item = document.getElementById("button-" + pPage.path + nr);
275
item.style.color = !visible && hasVisibleChild ? "lightgray" : "black";
276
+ if (!visible) {
277
+ // hide the shortcut indicator
278
+ item.classList.remove("menu-item-first-letter");
279
+ }
280
if (visible || hasVisibleChild) {
281
+ // show the menu item
282
item.classList.remove("menu-item-hidden");
283
} else {
284
+ // hide the menu item
285
item.classList.add("menu-item-hidden");
286
}
287
0 commit comments