Skip to content

Commit

Permalink
add alertClass to report health-message
Browse files Browse the repository at this point in the history
  • Loading branch information
mikemitchel committed Aug 27, 2024
1 parent 48cadec commit 9bb0635
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/report/page-partial.stache
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@
<div class="col-xs-4">
{{#for(fieldVM of fieldsWithVM)}}
<div class="row"><div class="report-label">Field #</div> {{addOne(scope.index)}}</div>
{{#not(fieldVM.hasValidType)}}
<health-message message:from="fieldVM.problemMessage"></health-message>
{{#not(fieldVM.hasValidTypes)}}
<health-message alertClass:from="fieldVM.alertClass" message:from="fieldVM.problemMessage"></health-message>
{{/not}}
<div class="row {{#if(scope/hideDefault)}}hide-section{{/if}}"><div class="report-label">Type:</div> {{fieldVM.field.type}}</div>
<div class="row"><div class="report-label">Label:</div> {{fieldVM.field.label}}</div>
Expand Down

0 comments on commit 9bb0635

Please sign in to comment.