Fixed preset customization UI showing inherited DEFAULT permissions if a protocol-level preset exists.
This commit is contained in:
parent
4bd8da62b8
commit
c9c7b7aefe
|
@ -614,7 +614,7 @@ var UI = (() => {
|
||||||
}
|
}
|
||||||
|
|
||||||
let hostname = Sites.toExternal(url.hostname);
|
let hostname = Sites.toExternal(url.hostname);
|
||||||
let overrideDefault = url.protocol && site !== url.protocol ?
|
let overrideDefault = site && url.protocol && site !== url.protocol ?
|
||||||
policy.get(url.protocol, contextMatch) : null;
|
policy.get(url.protocol, contextMatch) : null;
|
||||||
if (overrideDefault && !overrideDefault.siteMatch) overrideDefault = null;
|
if (overrideDefault && !overrideDefault.siteMatch) overrideDefault = null;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue