From 18455459a991c3da8b32e2c47c4795dc90c6b422 Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Thu, 10 Jun 2021 16:41:37 -0300 Subject: fix group page sidebar highlighting all groups --- src/page/group.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/page/group.js b/src/page/group.js index 698c17ec..7282fc81 100644 --- a/src/page/group.js +++ b/src/page/group.js @@ -201,7 +201,7 @@ function generateGroupSidebar(currentGroup, isGallery, { html.tag('ul', category.groups.map(group => html.tag('li', { - class: currentGroup && 'current', + class: group === currentGroup && 'current', style: getLinkThemeString(group.color) }, strings('groupSidebar.groupList.item', { -- cgit 1.3.0-6-gf8a5