1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-18 01:03:35 +00:00

lib updates for login view on desktop

This commit is contained in:
Kyle Spearrin
2018-01-24 23:27:04 -05:00
parent b4257b9ff3
commit e5c1adedff
6 changed files with 47 additions and 27 deletions

View File

@@ -57,4 +57,12 @@ export class CipherView implements View {
return null;
}
get hasAttachments(): boolean {
return this.attachments && this.attachments.length > 0;
}
get hasFields(): boolean {
return this.fields && this.fields.length > 0;
}
}