mirror of
https://github.com/bitwarden/browser.git
synced 2024-10-29 07:59:42 +01:00
uri match value can be 0
This commit is contained in:
parent
913336280a
commit
848f50afe7
@ -6,6 +6,6 @@ export class LoginUriApi {
|
|||||||
|
|
||||||
constructor(data: any) {
|
constructor(data: any) {
|
||||||
this.uri = data.Uri;
|
this.uri = data.Uri;
|
||||||
this.match = data.Match ? data.Match : null;
|
this.match = data.Match != null ? data.Match : null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -44,7 +44,7 @@ export class CipherRequest {
|
|||||||
cipher.login.uris.forEach((u) => {
|
cipher.login.uris.forEach((u) => {
|
||||||
this.login.uris.push({
|
this.login.uris.push({
|
||||||
uri: u.uri ? u.uri.encryptedString : null,
|
uri: u.uri ? u.uri.encryptedString : null,
|
||||||
match: u.match ? u.match : null,
|
match: u.match != null ? u.match : null,
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user