fixup fb7f7d54: isMatching must be boolean
This commit is contained in:
parent
86ebca5e1a
commit
27ad478f8c
|
@ -339,7 +339,7 @@ function searchStyles({immediately, container}) {
|
||||||
if (!isMatching) {
|
if (!isMatching) {
|
||||||
const style = urlMode ? siteStyleIds.has(entry.styleId) :
|
const style = urlMode ? siteStyleIds.has(entry.styleId) :
|
||||||
BG.cachedStyles.byId.get(entry.styleId) || {};
|
BG.cachedStyles.byId.get(entry.styleId) || {};
|
||||||
isMatching = urlMode ? style : Boolean(style && (
|
isMatching = Boolean(style && (urlMode ||
|
||||||
isMatchingText(style.name) ||
|
isMatchingText(style.name) ||
|
||||||
style.url && isMatchingText(style.url) ||
|
style.url && isMatchingText(style.url) ||
|
||||||
isMatchingStyle(style)));
|
isMatchingStyle(style)));
|
||||||
|
|
Loading…
Reference in New Issue
Block a user