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

delay i18n evaluations

This commit is contained in:
Kyle Spearrin
2018-01-12 21:56:35 -05:00
parent b1e4c98f6d
commit 583b7c3b15
2 changed files with 5 additions and 5 deletions

View File

@@ -20,7 +20,7 @@ export class FolderService implements FolderServiceInterface {
decryptedFolderCache: any[];
constructor(private cryptoService: CryptoService, private userService: UserService,
private noneFolder: string, private apiService: ApiService,
private noneFolder: () => string, private apiService: ApiService,
private storageService: StorageService) {
}
@@ -66,7 +66,7 @@ export class FolderService implements FolderServiceInterface {
const decFolders: any[] = [{
id: null,
name: this.noneFolder,
name: this.noneFolder(),
}];
const key = await this.cryptoService.getKey();