1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-17 16:53:34 +00:00

search service with lunr implementation

This commit is contained in:
Kyle Spearrin
2018-02-28 15:15:10 -05:00
parent e3b3e444db
commit 6aef18ee7f
6 changed files with 88 additions and 1 deletions

View File

@@ -65,4 +65,12 @@ export class CipherView implements View {
get hasFields(): boolean {
return this.fields && this.fields.length > 0;
}
get login_username(): string {
return this.login != null ? this.login.username : null;
}
get login_uri(): string {
return this.login != null ? this.login.uri : null;
}
}