We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3dca1e3 + cda6980 commit 8040085Copy full SHA for 8040085
eform-client/src/app/modules/cases/components/case-edit-switch/case-edit-switch.component.html
@@ -1,6 +1,7 @@
1
<ng-container *ngIf="dataItemList">
2
<ng-container *ngFor="let dataItem of dataItemList; let i = index">
3
- <div class="card z-depth-2 mb-3" style="width: 100%" *ngIf="dataItem.fieldType != 'SaveButton'">
+ <div class="card z-depth-2 mb-3" style="width: 100%"
4
+ *ngIf="dataItem.fieldType != 'SaveButton' && dataItem.fieldValues">
5
<div class="card-header"
6
[ngStyle]="{'background-color': dataItem.fieldValues[0].color ? '#' + dataItem.fieldValues[0].color : ''}"
7
*ngIf="dataItem.fieldType != 'FieldContainer' && dataItem.fieldType != 'SaveButton'">
0 commit comments