diff --git a/src/app/organizations/vault/vault.component.html b/src/app/organizations/vault/vault.component.html index ecc138fbf4..83a5f95291 100644 --- a/src/app/organizations/vault/vault.component.html +++ b/src/app/organizations/vault/vault.component.html @@ -13,7 +13,7 @@ - diff --git a/src/app/organizations/vault/vault.component.ts b/src/app/organizations/vault/vault.component.ts index dac4e895b3..de6eebb321 100644 --- a/src/app/organizations/vault/vault.component.ts +++ b/src/app/organizations/vault/vault.component.ts @@ -45,6 +45,7 @@ export class VaultComponent implements OnInit { organization: Organization; collectionId: string; type: CipherType; + showAdd = true; private modal: ModalComponent = null; @@ -56,6 +57,7 @@ export class VaultComponent implements OnInit { ngOnInit() { this.route.parent.params.subscribe(async (params) => { this.organization = await this.userService.getOrganization(params.organizationId); + this.showAdd = this.organization.isAdmin; this.groupingsComponent.organization = this.organization; this.ciphersComponent.organization = this.organization;