1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-16 08:13:42 +00:00

share and web vault to tools. cleanup messages

This commit is contained in:
Kyle Spearrin
2018-04-17 13:19:58 -04:00
parent 46ca96020d
commit b22653d245
3 changed files with 19 additions and 24 deletions

View File

@@ -120,7 +120,18 @@ export class SettingsComponent implements OnInit {
}
async share() {
// TODO
this.analytics.eventTrack.next({ action: 'Clicked Share Vault' });
const confirmed = await this.platformUtilsService.showDialog(
this.i18nService.t('shareVaultConfirmation'), this.i18nService.t('shareVault'),
this.i18nService.t('yes'), this.i18nService.t('cancel'));
if (confirmed) {
BrowserApi.createNewTab('https://help.bitwarden.com/article/what-is-an-organization/');
}
}
async webVault() {
this.analytics.eventTrack.next({ action: 'Clicked Web Vault' });
BrowserApi.createNewTab('https://vault.bitwarden.com');
}
import() {