mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-23 11:56:00 +01:00
null checks
This commit is contained in:
parent
0b2fab43d5
commit
bbcbd6d119
@ -59,9 +59,9 @@ export class TwoFactorComponent implements OnInit, OnDestroy {
|
||||
|
||||
if (this.win != null && this.u2fSupported) {
|
||||
let customWebVaultUrl: string = null;
|
||||
if (this.environmentService.baseUrl) {
|
||||
if (this.environmentService.baseUrl != null) {
|
||||
customWebVaultUrl = this.environmentService.baseUrl;
|
||||
} else if (this.environmentService.webVaultUrl) {
|
||||
} else if (this.environmentService.webVaultUrl != null) {
|
||||
customWebVaultUrl = this.environmentService.webVaultUrl;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user