1
0
mirror of https://github.com/bitwarden/jslib synced 2025-12-21 10:43:23 +00:00

formatting updates

This commit is contained in:
Kyle Spearrin
2019-02-08 08:03:12 -05:00
parent 4aaf452883
commit 98addd8ab5
2 changed files with 3 additions and 4 deletions

View File

@@ -31,17 +31,16 @@ export class LoginView implements View {
}
get canLaunch(): boolean {
return this.hasUris && this.uris.some(uri => uri.canLaunch);
return this.hasUris && this.uris.some((u) => u.canLaunch);
}
get launchUri(): string {
if (this.hasUris) {
const uri = this.uris.find(uri => uri.canLaunch)
const uri = this.uris.find((u) => u.canLaunch);
if (uri != null) {
return uri.launchUri;
}
}
return null;
}