Update assignManager.js

This commit is contained in:
BPower0036 2022-05-19 10:05:43 +00:00 committed by GitHub
parent 3d4619575d
commit 9319205971
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -753,7 +753,8 @@ window.assignManager = {
// Ensure we have a cookieStore to assign to
if (cookieStore
&& this.isTabPermittedAssign(tab)) {
return this.storageArea.get(tab.url);
const siteMatchResult = await this.storageArea.getOrWildcardMatch(tab.url);
return siteMatchResult && siteMatchResult.siteSettings;
}
return false;
},