Initialize row customization with top context, if set.

This commit is contained in:
hackademix 2022-02-13 23:15:28 +01:00
parent c531bc44cc
commit 8c16687237
1 changed files with 2 additions and 1 deletions

View File

@ -770,8 +770,9 @@ var UI = (() => {
if (!hasTemp) hasTemp = perms.temp;
}
} else {
let top = Sites.optimalKey(this.mainUrl);
for (let site of sites) {
let context = null;
let context = top;
if (site.site) {
site = site.site;
context = site.context;