mirror of
https://github.com/bitwarden/browser.git
synced 2024-08-26 23:09:46 +02:00
rename enum from basedomain => domain
This commit is contained in:
parent
0d80216921
commit
913336280a
|
@ -1,5 +1,5 @@
|
|||
export enum UriMatchType {
|
||||
BaseDomain = 0,
|
||||
Domain = 0,
|
||||
Host = 1,
|
||||
StartsWith = 2,
|
||||
Exact = 3,
|
||||
|
|
|
@ -215,7 +215,7 @@ export class CipherService implements CipherServiceAbstraction {
|
|||
switch (u.match) {
|
||||
case null:
|
||||
case undefined:
|
||||
case UriMatchType.BaseDomain:
|
||||
case UriMatchType.Domain:
|
||||
if (domain != null && u.domain != null && matchingDomains.indexOf(u.domain) > -1) {
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user