Skip to content

Commit

Permalink
Shutov / #2646 [Provider/Workshops/Leave workshop] FIxed non-disappea…
Browse files Browse the repository at this point in the history
…ring Leave-workshop button (#2651)

* changed project domain

* fixed non-disappearing Leave-workshop button

* code improvement
  • Loading branch information
MarianS23 authored Dec 17, 2024
1 parent 8819174 commit 4c21554
Showing 1 changed file with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -88,11 +88,9 @@ <h5 *ngIf="isRoleProvider(userRole)">
</ng-container>
<mat-card-content class="card-block card-block__buttons flex flex-row justify-end items-center" *ngIf="userRole === Role.parent">
<div
class="flex flex-col justify-start items-start"
[ngClass]="
(application.status === ApplicationStatuses.Left || application.status === ApplicationStatuses.Rejected) && 'hidden'
">
<button class="btn btn-gray" (click)="leave.emit(application)">
fxLayout="column"
fxLayoutAlign="start start">
<button class="btn btn-gray" (click)="leave.emit(application)" [class.hidden]="application.status === ApplicationStatuses.Left || application.status === ApplicationStatuses.Rejected">
<p>{{ 'BUTTONS.LEAVE_WORKSHOP' | translate }}</p>
</button>
</div>
Expand Down

0 comments on commit 4c21554

Please sign in to comment.