ccdb-web/app/templates/components/ccdb-table.hbs

10 lines
223 B
Handlebars

{{#if hasBlock}}
{{yield (hash
table=(component 'light-table' table=table)
)}}
{{else}}
{{#light-table table tableClassNames="table table-striped" as |t|}}
{{t.head}}
{{t.body}}
{{/light-table}}
{{/if}}