mirror of
https://github.com/bitwarden/browser.git
synced 2024-12-26 17:08:33 +01:00
export case for edge
This commit is contained in:
parent
bbee1790e1
commit
46ac5e2065
@ -72,7 +72,8 @@
|
||||
<div class="row-main">{{'importItems' | 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" routerLink="/export">
|
||||
<a class="box-content-row box-content-row-flex text-default" href="#"
|
||||
appStopClick appBlurClick (click)="export()">
|
||||
<div class="row-main">{{'exportVault' | i18n}}</div>
|
||||
<i class="fa fa-chevron-right fa-lg row-sub-icon"></i>
|
||||
</a>
|
||||
@ -86,7 +87,7 @@
|
||||
<div class="box list">
|
||||
<div class="box-header">{{'other' | i18n}}</div>
|
||||
<div class="box-content single-line">
|
||||
<a class="box-content-row box-content-row-flex text-default" routerLink="/options">
|
||||
<a class="box-content-row box-content-row-flex text-default" routerLink="/options">
|
||||
<div class="row-main">{{'options' | i18n}}</div>
|
||||
<i class="fa fa-chevron-right fa-lg row-sub-icon"></i>
|
||||
</a>
|
||||
|
@ -128,6 +128,15 @@ export class SettingsComponent implements OnInit {
|
||||
BrowserApi.createNewTab('https://help.bitwarden.com/article/import-data/');
|
||||
}
|
||||
|
||||
export() {
|
||||
if (this.platformUtilsService.isEdge()) {
|
||||
BrowserApi.createNewTab('https://help.bitwarden.com/article/export-your-data/');
|
||||
return;
|
||||
}
|
||||
|
||||
this.router.navigate(['/export']);
|
||||
}
|
||||
|
||||
help() {
|
||||
this.analytics.eventTrack.next({ action: 'Clicked Help and Feedback' });
|
||||
BrowserApi.createNewTab('https://help.bitwarden.com/');
|
||||
|
Loading…
Reference in New Issue
Block a user