1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-08-26 23:09:46 +02:00

uri match value can be 0

This commit is contained in:
Kyle Spearrin 2018-03-02 15:15:15 -05:00
parent 913336280a
commit 848f50afe7
2 changed files with 2 additions and 2 deletions

View File

@ -6,6 +6,6 @@ export class LoginUriApi {
constructor(data: any) {
this.uri = data.Uri;
this.match = data.Match ? data.Match : null;
this.match = data.Match != null ? data.Match : null;
}
}

View File

@ -44,7 +44,7 @@ export class CipherRequest {
cipher.login.uris.forEach((u) => {
this.login.uris.push({
uri: u.uri ? u.uri.encryptedString : null,
match: u.match ? u.match : null,
match: u.match != null ? u.match : null,
});
});
}