[AC-2601] Only hide vault filter for providers when feature flag is enabled (#9179)
This commit is contained in:
parent
8cc113c5a4
commit
ff15b05d2d
|
@ -12,7 +12,7 @@
|
|||
></app-org-vault-header>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-3" *ngIf="!organization?.isProviderUser">
|
||||
<div class="col-3" *ngIf="!hideVaultFilters">
|
||||
<div class="groupings">
|
||||
<div class="content">
|
||||
<div class="inner-content">
|
||||
|
@ -26,7 +26,7 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div [class]="organization?.isProviderUser ? 'col-12' : 'col-9'">
|
||||
<div [class]="hideVaultFilters ? 'col-12' : 'col-9'">
|
||||
<bit-toggle-group
|
||||
*ngIf="showAddAccessToggle && activeFilter.selectedCollectionNode"
|
||||
[selected]="addAccessStatus$ | async"
|
||||
|
|
|
@ -166,6 +166,10 @@ export class VaultComponent implements OnInit, OnDestroy {
|
|||
return this._restrictProviderAccessFlagEnabled && this.flexibleCollectionsV1Enabled;
|
||||
}
|
||||
|
||||
protected get hideVaultFilters(): boolean {
|
||||
return this.restrictProviderAccessEnabled && this.organization?.isProviderUser;
|
||||
}
|
||||
|
||||
private searchText$ = new Subject<string>();
|
||||
private refresh$ = new BehaviorSubject<void>(null);
|
||||
private destroy$ = new Subject<void>();
|
||||
|
|
Loading…
Reference in New Issue