1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-07-08 12:57:57 +02:00

Fix test in last commit

This commit is contained in:
Raymond Hill 2023-04-26 20:55:57 -04:00
parent b870c94651
commit 8b1b8c4c7f
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2

View File

@ -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(),