diff --git a/src/app/dars/audit/audit.component.html b/src/app/dars/audit/audit.component.html index f46e8ae0072be14d58744016fe7fb9ba560697e8..39717fe09c1ff43d6a6615d943f256cfbc5de1b2 100644 --- a/src/app/dars/audit/audit.component.html +++ b/src/app/dars/audit/audit.component.html @@ -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>