Skip to content

Commit

Permalink
fix: hide submitted date for tasks not submitted
Browse files Browse the repository at this point in the history
  • Loading branch information
macite committed Mar 21, 2023
1 parent 150f4de commit f74fb55
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ <h4 class="mat-h4">{{ task.project.student.name }}</h4>
<p class="mat-small">
{{ task.shortTutorialDescription() }}
</p>
<p class="mat-small">Submitted {{ task.submissionDate | humanizedDate }}</p>
<p class="mat-small" [hidden]="!task.inSubmittedState()">Submitted {{ task.submissionDate | humanizedDate }}</p>
<p class="mat-small" [hidden]="!(task.timesAssessed > 0)">
Assessed {{ task.timesAssessed }} time{{ task.timesAssessed === 1 ? '' : 's' }}
</p>
Expand Down

0 comments on commit f74fb55

Please sign in to comment.