Skip to content

Commit

Permalink
Wildcard subdomains - fix right-click context menu displaying incorre…
Browse files Browse the repository at this point in the history
…ct "Always open in" status
  • Loading branch information
mckenfra committed May 19, 2022
1 parent 83fd73b commit cf662b5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/js/background/assignManager.js
Original file line number Diff line number Diff line change
Expand Up @@ -734,7 +734,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;
},
Expand Down

0 comments on commit cf662b5

Please sign in to comment.