This commit is contained in:
Marcin Szczepański 2020-01-16 17:28:37 +01:00
parent 88c5a9e9f3
commit f55a6c690a

View File

@ -22,7 +22,7 @@
Poprzednia odpowiedź była niepoprawna.
</div>
<div *ngIf="!isStarted && (test['permission'] !== 'GROUP' || (test['permission'] === 'GROUP' && !test['attempted'] && (test['dateStart'] < now && test['dateEnd'] < now)))">
<div *ngIf="!isStarted && (test['permission'] !== 'GROUP' || (test['permission'] === 'GROUP' && !test['attempted'] && ((test['dateStart'] < now && test['dateEnd'] < now) || (test['isGroupOwner']))))">
<br /><br />
<button class="button" (click)="start()"> <i class="far fa-play-circle"></i> Rozpocznij test</button>
</div>