Fixed typo in UI context dropdown initial selection.
This commit is contained in:
parent
3a8884dd41
commit
5b3e7924f6
|
@ -637,7 +637,7 @@ var UI = (() => {
|
||||||
} else {
|
} else {
|
||||||
if (ctxSites) {
|
if (ctxSites) {
|
||||||
for (let [site, ctxPerms] of ctxSites.entries()) {
|
for (let [site, ctxPerms] of ctxSites.entries()) {
|
||||||
ctxSelect.appendChild(entry(site, toLabel(site))).selected === perms === ctxPerms;
|
ctxSelect.appendChild(entry(site, toLabel(site))).selected = perms === ctxPerms;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue