Skip to content
Snippets Groups Projects
Commit 5baca170 authored by jvanboxtel@wisc.edu's avatar jvanboxtel@wisc.edu
Browse files

audit missing null check

parent 54839005
No related branches found
No related tags found
No related merge requests found
......@@ -80,8 +80,8 @@
</ng-container>
</table>
<table mat-table [dataSource]="audit.topSection.advancedStandingCreditsSection.advanceStandingCredits">
<caption>{{audit.topSection.advancedStandingCreditsSection.sectionLabel}}</caption>
<table mat-table [dataSource]="audit.topSection.advancedStandingCreditsSection?.advanceStandingCredits">
<caption>{{audit.topSection.advancedStandingCreditsSection?.sectionLabel}}</caption>
<tr mat-header-row *matHeaderRowDef="advancedStandingCredits"></tr>
<tr mat-row *matRowDef="let row; columns: advancedStandingCredits;"></tr>
<tr mat-footer-row *matFooterRowDef="advancedStandingCredits"></tr>
......@@ -101,13 +101,13 @@
<ng-container matColumnDef="degreeCreditsValue">
<th mat-header-cell *matHeaderCellDef class="text-align-right">Deg</th>
<td mat-cell *matCellDef="let course" class="text-align-right">{{course.degreeCreditsValue}}</td>
<td mat-footer-cell *matFooterCellDef class="bold text-align-right">{{audit.topSection.advancedStandingCreditsSection.totals.degreeCreditsValue}}</td>
<td mat-footer-cell *matFooterCellDef class="bold text-align-right">{{audit.topSection.advancedStandingCreditsSection?.totals.degreeCreditsValue}}</td>
</ng-container>
<ng-container matColumnDef="courseCreditsValue">
<th mat-header-cell *matHeaderCellDef class="text-align-right">Crse</th>
<td mat-cell *matCellDef="let course" class="text-align-right">{{course.courseCreditsValue}}</td>
<td mat-footer-cell *matFooterCellDef class="bold text-align-right">{{audit.topSection.advancedStandingCreditsSection.totals.courseCreditsValue}}</td>
<td mat-footer-cell *matFooterCellDef class="bold text-align-right">{{audit.topSection.advancedStandingCreditsSection?.totals.courseCreditsValue}}</td>
</ng-container>
</table>
</section>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment