mirror of
https://github.com/bitwarden/jslib
synced 2025-12-21 10:43:23 +00:00
allow launching URLs without protocol than end with tld
This commit is contained in:
@@ -34,6 +34,10 @@ export class LoginView implements View {
|
||||
return this.hasUris && this.uris[0].canLaunch;
|
||||
}
|
||||
|
||||
get launchUri(): string {
|
||||
return this.canLaunch ? this.uris[0].launchUri : null;
|
||||
}
|
||||
|
||||
get hasUris(): boolean {
|
||||
return this.uris != null && this.uris.length > 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user