mirror of
https://github.com/bitwarden/browser
synced 2025-12-20 10:13:31 +00:00
share and web vault to tools. cleanup messages
This commit is contained in:
@@ -82,6 +82,11 @@
|
||||
<div class="row-main">{{'shareVault' | i18n}}</div>
|
||||
<i class="fa fa-chevron-right fa-lg row-sub-icon"></i>
|
||||
</a>
|
||||
<a class="box-content-row box-content-row-flex text-default" href="#"
|
||||
appStopClick appBlurClick (click)="webVault()">
|
||||
<div class="row-main">{{'bitWebVault' | i18n}}</div>
|
||||
<i class="fa fa-chevron-right fa-lg row-sub-icon"></i>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="box list">
|
||||
|
||||
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user