Manual xo fixes and suppressions

Signed-off-by: XhmikosR <xhmikosr@gmail.com>
This commit is contained in:
XhmikosR
2025-02-23 07:57:38 +02:00
parent f8a0a1d4ec
commit f598a8e35c
13 changed files with 49 additions and 75 deletions

View File

@@ -17,10 +17,7 @@ function populateGroupSelect(selectEl) {
// Add all known groups
for (const group of groups) {
let dataSub = "";
if (!group.enabled) {
dataSub = 'data-subtext="(disabled)"';
}
const dataSub = group.enabled ? "" : 'data-subtext="(disabled)"';
selectEl.append(
$("<option " + dataSub + "/>")