Skip to content

Commit

Permalink
correccion de bug en zonas de estudio
Browse files Browse the repository at this point in the history
  • Loading branch information
Almenara committed Nov 14, 2024
1 parent 9e8df1a commit dd814fd
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,12 @@ <h2>{{ "admin.studyZone.list.title" | translate }}</h2>
<ng-template [ngxPermissionsOnly]="['UPDATE-STUDY-ZONES','DELETE-STUDY-ZONES']">
<td class="flex justify-content-end gap-2">
<ng-template [ngxPermissionsOnly]="['UPDATE-STUDY-ZONES']">

<button pButton
type="button"
[ngClass]="{ 'p-button-secondary' : studyZone.is_visible }"
[icon]="studyZone.is_visible ? 'pi pi-eye-slash' : 'pi pi-eye'"
[pTooltip]="(studyZone.is_visible ? 'studyzones.show' : 'studyzones.hide') | translate"
[ngClass]="{ 'p-button-secondary' : !studyZone.is_visible }"
[icon]="!studyZone.is_visible ? 'pi pi-eye-slash' : 'pi pi-eye'"
[pTooltip]="(!studyZone.is_visible ? 'studyzones.show' : 'studyzones.hide') | translate"
tooltipPosition="top"
(click)="toggleEnableStudyZone(studyZone.id)"
></button>
Expand Down

0 comments on commit dd814fd

Please sign in to comment.