|
17 | 17 | </div> |
18 | 18 | </div> |
19 | 19 | <div class="psdk-case-view" id="case-view"> |
20 | | - <div class="psdk-case-view-info"> |
21 | | - <div *ngIf="showSummaryRegion && (primarySummaryFields.length > 0 || secondarySummaryFields.length > 0)"> |
22 | | - <mat-toolbar class="psdk-case-view-toolbar"> |
23 | | - <mat-toolbar-row class="psdk-case-view-toolbar-row"> |
24 | | - <div class="psdk-case-view-heading"> |
25 | | - <div> |
26 | | - <h1 id="case-name">{{ heading$ }}</h1> |
27 | | - </div> |
28 | | - <div id="current-caseID" [hidden]="true">{{ currentCaseID }}</div> |
29 | | - <div class="psdk-case-view-heading-id" id="caseId">{{ id$ }}</div> |
| 20 | + <div class="psdk-case-view-info" *ngIf="showSummaryRegion && (primarySummaryFields.length > 0 || secondarySummaryFields.length > 0)"> |
| 21 | + <mat-toolbar class="psdk-case-view-toolbar"> |
| 22 | + <mat-toolbar-row class="psdk-case-view-toolbar-row"> |
| 23 | + <div class="psdk-case-view-heading"> |
| 24 | + <div> |
| 25 | + <h1 id="case-name">{{ heading$ }}</h1> |
30 | 26 | </div> |
31 | | - </mat-toolbar-row> |
32 | | - </mat-toolbar> |
33 | | - <div class="psdk-case-view-divider"></div> |
34 | | - <div class="psdk-case-view-summary"> |
35 | | - <component-mapper |
36 | | - name="CaseSummaryFields" |
37 | | - [props]="{ primaryFields$: primarySummaryFields, secondaryFields$: secondarySummaryFields }" |
38 | | - ></component-mapper> |
39 | | - </div> |
| 27 | + <div id="current-caseID" [hidden]="true">{{ currentCaseID }}</div> |
| 28 | + <div class="psdk-case-view-heading-id" id="caseId">{{ id$ }}</div> |
| 29 | + </div> |
| 30 | + </mat-toolbar-row> |
| 31 | + </mat-toolbar> |
| 32 | + <div class="psdk-case-view-divider"></div> |
| 33 | + <div class="psdk-case-view-summary"> |
| 34 | + <component-mapper |
| 35 | + name="CaseSummaryFields" |
| 36 | + [props]="{ primaryFields$: primarySummaryFields, secondaryFields$: secondarySummaryFields }" |
| 37 | + ></component-mapper> |
40 | 38 | </div> |
41 | 39 | </div> |
42 | 40 | <div class="psdk-case-view-main"> |
@@ -68,12 +66,10 @@ <h1 id="case-name">{{ heading$ }}</h1> |
68 | 66 | </div> |
69 | 67 | </div> |
70 | 68 | </div> |
71 | | - <div class="psdk-case-view-utilities"> |
72 | | - <div *ngIf="arChildren$ && showUtilitiesRegion && isUtilitiesRegionNotEmpty()"> |
73 | | - <div *ngFor="let kid of arChildren$"> |
74 | | - <div *ngIf="kid.getPConnect().getRawMetadata()?.type.toLowerCase() == 'region' && kid.getPConnect().getRawMetadata()?.name == 'Utilities'"> |
75 | | - <component-mapper name="Region" [props]="{ pConn$: kid.getPConnect() }"></component-mapper> |
76 | | - </div> |
| 69 | + <div class="psdk-case-view-utilities" *ngIf="arChildren$ && showUtilitiesRegion && isUtilitiesRegionNotEmpty()"> |
| 70 | + <div *ngFor="let kid of arChildren$"> |
| 71 | + <div *ngIf="kid.getPConnect().getRawMetadata()?.type.toLowerCase() == 'region' && kid.getPConnect().getRawMetadata()?.name == 'Utilities'"> |
| 72 | + <component-mapper name="Region" [props]="{ pConn$: kid.getPConnect() }"></component-mapper> |
77 | 73 | </div> |
78 | 74 | </div> |
79 | 75 | </div> |
|
0 commit comments