1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-16 16:23:44 +00:00

export case for edge

This commit is contained in:
Kyle Spearrin
2018-04-13 22:18:21 -04:00
parent bbee1790e1
commit 46ac5e2065
2 changed files with 12 additions and 2 deletions

View File

@@ -72,7 +72,8 @@
<div class="row-main">{{'importItems' | i18n}}</div> <div class="row-main">{{'importItems' | i18n}}</div>
<i class="fa fa-chevron-right fa-lg row-sub-icon"></i> <i class="fa fa-chevron-right fa-lg row-sub-icon"></i>
</a> </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> <div class="row-main">{{'exportVault' | i18n}}</div>
<i class="fa fa-chevron-right fa-lg row-sub-icon"></i> <i class="fa fa-chevron-right fa-lg row-sub-icon"></i>
</a> </a>

View File

@@ -128,6 +128,15 @@ export class SettingsComponent implements OnInit {
BrowserApi.createNewTab('https://help.bitwarden.com/article/import-data/'); 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() { help() {
this.analytics.eventTrack.next({ action: 'Clicked Help and Feedback' }); this.analytics.eventTrack.next({ action: 'Clicked Help and Feedback' });
BrowserApi.createNewTab('https://help.bitwarden.com/'); BrowserApi.createNewTab('https://help.bitwarden.com/');