Merge pull request #64 from kaermorchen/remove-capitalize-from-table-head

Remove capitalize titles from table head
This commit is contained in:
Stanislav Romanov 2023-08-29 07:55:55 +03:00 committed by GitHub
commit 6c6274ecaf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

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

View file

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