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
1 changed files with 1 additions and 1 deletions

View File

@ -679,7 +679,7 @@ self.addEventListener('hiddenSettingsChanged', ( ) => {
// Load previously saved available lists -- these contains data // Load previously saved available lists -- these contains data
// computed at run-time, we will reuse this data if possible // computed at run-time, we will reuse this data if possible
const [ bin, registeredAssets, badlists ] = await Promise.all([ const [ bin, registeredAssets, badlists ] = await Promise.all([
Object.keys(this.availableFilterLists) !== 0 Object.keys(this.availableFilterLists).length !== 0
? { availableFilterLists: this.availableFilterLists } ? { availableFilterLists: this.availableFilterLists }
: vAPI.storage.get('availableFilterLists'), : vAPI.storage.get('availableFilterLists'),
io.metadata(), io.metadata(),