Skip to content

Commit 52d2373

Browse files
committed
Adding missing {}
Backporting color support from .net core branch.
1 parent aed056a commit 52d2373

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

eform-client/src/app/common/modules/eform-imported/pell/pell.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,10 +66,9 @@ export const init = settings => {
6666
actionbar.appendChild(button);
6767
});
6868

69-
if (settings.defaultParagraphSeparator) exec('defaultParagraphSeparator', settings.defaultParagraphSeparator)
69+
if (settings.defaultParagraphSeparator) { exec('defaultParagraphSeparator', settings.defaultParagraphSeparator); }
7070
if (settings.styleWithCSS) { exec('styleWithCSS'); }
7171

72-
7372
return settings.element;
7473
};
7574

eform-client/src/app/modules/cases/components/case-edit-switch/case-edit-switch.component.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
<ng-container *ngIf="dataItemList">
22
<ng-container *ngFor="let dataItem of dataItemList; let i = index">
33
<div class="card z-depth-2 mb-3" style="width: 100%" *ngIf="dataItem.fieldType != 'SaveButton'">
4-
<div class="card-header" *ngIf="dataItem.fieldType != 'FieldContainer' && dataItem.fieldType != 'SaveButton'">
4+
<div class="card-header"
5+
[ngStyle]="{'background-color': dataItem.color ? '#' + dataItem.color : ''}"
6+
*ngIf="dataItem.fieldType != 'FieldContainer' && dataItem.fieldType != 'SaveButton'">
57
{{dataItem.label}}
68
</div>
79
<div class="card-body">

0 commit comments

Comments
 (0)