Skip to content

Commit

Permalink
CST-7885 hide relationship tab in administer item
Browse files Browse the repository at this point in the history
  • Loading branch information
abollini authored and FrancescoMolinaro committed May 7, 2024
1 parent 4d840b5 commit 87cc555
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@
<div class="col-12">
<h2 class="border-bottom">{{'item.edit.head' | translate}}</h2>
<div class="pt-2">
<ul class="nav nav-tabs justify-content-start" role="tablist">
<li *ngFor="let page of pages" class="nav-item" [attr.aria-selected]="page.page === currentPage" role="tab">
<ul class="nav nav-tabs justify-content-start">
<ng-container *ngFor="let page of pages">
<li *ngIf="page.page != 'relationships'" class="nav-item">
<a *ngIf="(page.enabled | async)"
class="nav-link"
[ngClass]="{'active' : page.page === currentPage}"
Expand All @@ -18,6 +19,7 @@ <h2 class="border-bottom">{{'item.edit.head' | translate}}</h2>
</button>
</span>
</li>
</ng-container>
</ul>
<div class="tab-pane active">
<div class="mb-4">
Expand Down

0 comments on commit 87cc555

Please sign in to comment.