Skip to content

Commit f80bfcb

Browse files
committed
fix: handle potential null value in audits length check
Signed-off-by: Manuel Abascal <mjabascal10@gmail.com>
1 parent ece927b commit f80bfcb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

frontend/src/app/app-management/audits/audits.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ <h6 class="card-title mb-0 text-uppercase label-header">
4848
</td>
4949
</tr>
5050
</tbody>
51-
<tbody *ngIf="(audits.length===0 && !loading)">
51+
<tbody *ngIf="(audits?.length===0 && !loading)">
5252
<tr>
5353
<td colspan="5">
5454
<app-no-data-found></app-no-data-found>

0 commit comments

Comments
 (0)