1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-21 02:33:46 +00:00

Add support for helpers in environment service (#1967)

This commit is contained in:
Oscar Hinton
2021-07-23 22:32:42 +02:00
committed by GitHub
parent 55917b6cb0
commit 7cf4cfe3d1
7 changed files with 15 additions and 29 deletions

View File

@@ -318,10 +318,7 @@ export class SettingsComponent implements OnInit {
}
async webVault() {
let url = this.environmentService.getWebVaultUrl();
if (url == null) {
url = 'https://vault.bitwarden.com';
}
const url = this.environmentService.getWebVaultUrl();
BrowserApi.createNewTab(url);
}