1
0
mirror of https://github.com/bitwarden/jslib synced 2025-12-28 22:23:14 +00:00

More boilerplating

This commit is contained in:
Hinton
2022-04-04 11:09:49 +02:00
parent ec25d52989
commit f2b0682385
2 changed files with 56 additions and 0 deletions

View File

@@ -152,6 +152,10 @@ export class AddEditComponent implements OnInit {
await this.init();
}
get customType() {
return this.cipher.type > CipherType.Identity;
}
async init() {
if (this.ownershipOptions.length) {
this.ownershipOptions = [];