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

callout component

This commit is contained in:
Kyle Spearrin
2018-06-25 20:49:49 -04:00
parent 1717960a8c
commit 03dfda7a17
11 changed files with 86 additions and 45 deletions

View File

@@ -165,14 +165,14 @@ export class ImportComponent {
}
}
getFormatName() {
getFormatInstructionTitle() {
if (this.format == null) {
return null;
}
const results = this.featuredImportOptions.concat(this.importOptions).filter((o) => o.id === this.format);
if (results.length > 0) {
return results[0].name;
return this.i18nService.t('instructionsFor', results[0].name);
}
return null;
}