show USW styles with 'stylus' category
This commit is contained in:
parent
0aa6d3b463
commit
23aa036db5
|
@ -514,10 +514,10 @@
|
||||||
const {c} = res;
|
const {c} = res;
|
||||||
return (
|
return (
|
||||||
c === category ||
|
c === category ||
|
||||||
category !== STYLUS_CATEGORY && (
|
(category === STYLUS_CATEGORY
|
||||||
searchGlobals &&
|
? c === 'stylus' // USW
|
||||||
c === 'global' &&
|
: c === 'global' && searchGlobals &&
|
||||||
(query.length || calcHaystack(res)._nLC.includes(category))
|
(query.length || calcHaystack(res)._nLC.includes(category))
|
||||||
)
|
)
|
||||||
) && (
|
) && (
|
||||||
!query.length || // to skip calling calcHaystack
|
!query.length || // to skip calling calcHaystack
|
||||||
|
|
Loading…
Reference in New Issue
Block a user