mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-06-05 22:09:38 +02:00
perf: ⚡ Usa correttamente il componente TableColumn
This commit is contained in:
@ -21,10 +21,7 @@ export default class DataTable extends Component {
|
||||
<table className="mdc-data-table__table" aria-label={this.attrs.get('aria-label')}>
|
||||
<thead>
|
||||
<tr className="mdc-data-table__header-row">
|
||||
{this.attrs.has('checkable')
|
||||
&& <TableColumn type="checkbox">
|
||||
<mwc-checkbox/>
|
||||
</TableColumn>}
|
||||
{this.attrs.has('checkable') && <TableColumn type="checkbox"/>}
|
||||
{this.tableColumns(vnode.children)}
|
||||
</tr>
|
||||
</thead>
|
||||
|
Reference in New Issue
Block a user