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')}>
|
<table className="mdc-data-table__table" aria-label={this.attrs.get('aria-label')}>
|
||||||
<thead>
|
<thead>
|
||||||
<tr className="mdc-data-table__header-row">
|
<tr className="mdc-data-table__header-row">
|
||||||
{this.attrs.has('checkable')
|
{this.attrs.has('checkable') && <TableColumn type="checkbox"/>}
|
||||||
&& <TableColumn type="checkbox">
|
|
||||||
<mwc-checkbox/>
|
|
||||||
</TableColumn>}
|
|
||||||
{this.tableColumns(vnode.children)}
|
{this.tableColumns(vnode.children)}
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
|
Reference in New Issue
Block a user