Skip to content

Commit

Permalink
fix: not displaying school in child block if no school info is availa…
Browse files Browse the repository at this point in the history
…ble (#1034)
  • Loading branch information
TheSlimvReal authored Oct 25, 2021
1 parent 00f696a commit 711a30d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
<div fxFlex="grow">
<h3>{{ entity?.name }}</h3>
<p><fa-icon icon="phone"></fa-icon> {{ entity?.phone }}</p>
<ng-container>
<ng-container *ngIf="entity?.schoolId || entity?.schoolClass">
<p>
<app-school-block [entityId]="entity?.schoolId"></app-school-block>,
</p>
Expand All @@ -36,7 +36,7 @@ <h3>{{ entity?.name }}</h3>
[linkDisabled]="true"
></app-school-block
>,
<ng-container i18n="The class a child is attending|e.g. 'class 8'">
<ng-container i18n="The class a child is attending|e.g. 'class 8'" *ngIf="entity.schoolClass">
class {{ entity?.schoolClass }}
</ng-container>
</p>
Expand Down

0 comments on commit 711a30d

Please sign in to comment.