Remove capitalize from table head

This commit is contained in:
Stanislav Romanov 2023-08-29 07:52:22 +03:00
parent c0ba36d770
commit df5b50869f
2 changed files with 2 additions and 2 deletions

View file

@ -16,7 +16,7 @@
{{else if @name}} {{else if @name}}
{{@name}} {{@name}}
{{else if @prop}} {{else if @prop}}
{{capitalize @prop}} {{@prop}}
{{/if}} {{/if}}
{{#if @sortable}} {{#if @sortable}}

View file

@ -99,7 +99,7 @@
{{#each this.attributes as |field|}} {{#each this.attributes as |field|}}
{{#if (not (includes field this.hiddenFields))}} {{#if (not (includes field this.hiddenFields))}}
<Column <Column
@name={{capitalize field}} @name={{field}}
@prop={{field}} @prop={{field}}
@sortable={{includes field @model.sortableAttributes}} @sortable={{includes field @model.sortableAttributes}}
> >