Skip to content

Commit

Permalink
protect length
Browse files Browse the repository at this point in the history
  • Loading branch information
barais committed Dec 21, 2023
1 parent 7ad217f commit 3c4315c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ <h5 class="card-title" jhiTranslate="scanexam.courseexport">Export</h5>
Export
</button>
</div>
<ng-container *ngIf="exams.length > 1">
<ng-container *ngIf="exams !== undefined && exams !== null && exams.length > 1">
<div
*ngFor="let exam of exams"
class="flex align-items-center justify-content-center font-bold text-gray-900 border-round m-2"
Expand Down

0 comments on commit 3c4315c

Please sign in to comment.