{{#if hasBlock}} {{yield (hash grid=(component 'light-table' table=table onRowClicked=(action (optional onRowClicked))) pagination=(component 'ccdb-pagination' model=model changePage=(action (optional changePage))) )}} {{else}} {{ccdb-pagination model=model changePage=(action (optional changePage))}}
{{#light-table table tableClassNames="table table-striped" as |t|}} {{t.head}} {{t.body onRowClick=(action (optional onRowClick))}} {{/light-table}}
{{/if}}