meilisearch-admin/app/components/royal-table/row.hbs
2022-04-26 12:41:33 +03:00

23 lines
494 B
Handlebars

<tr ...attributes>
{{yield
(component
'royal-table/column'
place=@place
prop=@prop
sortable=@sortable
onClickHead=@onClickHead
onSort=@onSort
sortingProp=@sortingProp
sortingIconComponent=@sortingIconComponent
data=@data
parent=@parent
)
}}
</tr>
{{#if (has-block 'expandedView')}}
{{#if @data.expanded}}
<tr>
<td colspan={{@parent.columns.length}}>{{yield to="expandedView"}}</td>
</tr>
{{/if}}
{{/if}}