1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-18 17:23:37 +00:00

Fix build error (#9150)

This commit is contained in:
Thomas Rittson
2024-05-14 00:22:01 +10:00
committed by GitHub
parent 9c839a62d7
commit a852493211
4 changed files with 8 additions and 1 deletions

View File

@@ -35,6 +35,7 @@ export class VaultCollectionRowComponent {
@Input() groups: GroupView[];
@Input() showPermissionsColumn: boolean;
@Input() flexibleCollectionsV1Enabled: boolean;
@Input() restrictProviderAccess: boolean;
@Output() onEvent = new EventEmitter<VaultItemEvent>();
@@ -56,7 +57,10 @@ export class VaultCollectionRowComponent {
}
get permissionText() {
if (this.collection.id == Unassigned && this.organization?.canEditUnassignedCiphers()) {
if (
this.collection.id == Unassigned &&
this.organization?.canEditUnassignedCiphers(this.restrictProviderAccess)
) {
return this.i18nService.t("canEdit");
}
if ((this.collection as CollectionAdminView).assigned) {