mirror of
https://github.com/pi-hole/web.git
synced 2026-04-25 11:19:59 +01:00
Manual xo fixes and suppressions
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
This commit is contained in:
@@ -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 + "/>")
|
||||
|
||||
Reference in New Issue
Block a user