mirror of
https://github.com/bitwarden/browser
synced 2025-12-16 16:23:44 +00:00
uri match value can be 0
This commit is contained in:
@@ -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,
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user