mirror of
https://github.com/bitwarden/browser
synced 2025-12-16 16:23:44 +00:00
folder listing, add/edit components, cleanup
This commit is contained in:
38
src/popup/settings/export.component.ts
Normal file
38
src/popup/settings/export.component.ts
Normal file
@@ -0,0 +1,38 @@
|
||||
import { ToasterService } from 'angular2-toaster';
|
||||
import { Angulartics2 } from 'angulartics2';
|
||||
|
||||
import { Location } from '@angular/common';
|
||||
import { Component } from '@angular/core';
|
||||
|
||||
import { CipherService } from 'jslib/abstractions/cipher.service';
|
||||
import { CryptoService } from 'jslib/abstractions/crypto.service';
|
||||
import { FolderService } from 'jslib/abstractions/folder.service';
|
||||
import { I18nService } from 'jslib/abstractions/i18n.service';
|
||||
import { PlatformUtilsService } from 'jslib/abstractions/platformUtils.service';
|
||||
import { UserService } from 'jslib/abstractions/user.service';
|
||||
|
||||
import { ExportComponent as BaseExportComponent } from 'jslib/angular/components/export.component';
|
||||
|
||||
@Component({
|
||||
selector: 'app-export',
|
||||
templateUrl: 'export.component.html',
|
||||
})
|
||||
export class ExportComponent extends BaseExportComponent {
|
||||
constructor(analytics: Angulartics2, toasterService: ToasterService,
|
||||
cipherService: CipherService, folderService: FolderService,
|
||||
cryptoService: CryptoService, userService: UserService,
|
||||
i18nService: I18nService, platformUtilsService: PlatformUtilsService,
|
||||
private location: Location) {
|
||||
super(analytics, toasterService, cipherService, folderService, cryptoService, userService, i18nService,
|
||||
platformUtilsService, window);
|
||||
}
|
||||
|
||||
close() {
|
||||
this.location.back();
|
||||
}
|
||||
|
||||
protected saved() {
|
||||
super.saved();
|
||||
this.close();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user