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.
1 parent 52d2373 commit 2a26b18Copy full SHA for 2a26b18
eform-client/src/app/modules/cases/components/case-edit-switch/case-edit-switch.component.html
@@ -2,7 +2,7 @@
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'">
4
<div class="card-header"
5
- [ngStyle]="{'background-color': dataItem.color ? '#' + dataItem.color : ''}"
+ [ngStyle]="{'background-color': dataItem.fieldValues[0].color ? '#' + dataItem.fieldValues[0].color : ''}"
6
*ngIf="dataItem.fieldType != 'FieldContainer' && dataItem.fieldType != 'SaveButton'">
7
{{dataItem.label}}
8
</div>
0 commit comments