mirror of https://github.com/gorhill/uBlock.git
Fix test in last commit
This commit is contained in:
parent
b870c94651
commit
8b1b8c4c7f
|
@ -679,7 +679,7 @@ self.addEventListener('hiddenSettingsChanged', ( ) => {
|
|||
// Load previously saved available lists -- these contains data
|
||||
// computed at run-time, we will reuse this data if possible
|
||||
const [ bin, registeredAssets, badlists ] = await Promise.all([
|
||||
Object.keys(this.availableFilterLists) !== 0
|
||||
Object.keys(this.availableFilterLists).length !== 0
|
||||
? { availableFilterLists: this.availableFilterLists }
|
||||
: vAPI.storage.get('availableFilterLists'),
|
||||
io.metadata(),
|
||||
|
|
Loading…
Reference in New Issue