mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-06-05 22:09:38 +02:00
chore: Aggiunte classi mancanti
This commit is contained in:
@@ -29,7 +29,7 @@ export default class DataTable extends Component {
|
|||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
|
|
||||||
<tbody>
|
<tbody className="mdc-data-table__content">
|
||||||
{this.tableRows(vnode.children)}
|
{this.tableRows(vnode.children)}
|
||||||
</tbody>
|
</tbody>
|
||||||
|
|
||||||
@@ -126,11 +126,11 @@ export default class DataTable extends Component {
|
|||||||
}
|
}
|
||||||
|
|
||||||
showProgress() {
|
showProgress() {
|
||||||
$(this.element).find('.mdc-data-table__progress-indicator mwc-linear-progress').get(0).open();
|
$(this.element).addClass('mdc-data-table--in-progress').find('.mdc-data-table__progress-indicator mwc-linear-progress').get(0).open();
|
||||||
}
|
}
|
||||||
|
|
||||||
hideProgress() {
|
hideProgress() {
|
||||||
$(this.element).find('.mdc-data-table__progress-indicator mwc-linear-progress').get(0).open();
|
$(this.element).removeClass('mdc-data-table--in-progress').find('.mdc-data-table__progress-indicator mwc-linear-progress').get(0).open();
|
||||||
}
|
}
|
||||||
|
|
||||||
onColumnClicked(event: Event) {
|
onColumnClicked(event: Event) {
|
||||||
|
@@ -14,7 +14,7 @@ export default class TableCell extends Component {
|
|||||||
});
|
});
|
||||||
|
|
||||||
if ((!vnode.children || vnode.children.length === 0) && this.attrs.get('type') === 'checkbox') {
|
if ((!vnode.children || vnode.children.length === 0) && this.attrs.get('type') === 'checkbox') {
|
||||||
vnode.children = <mwc-checkbox/>;
|
vnode.children = <mwc-checkbox className="mdc-data-table__row-checkbox"/>;
|
||||||
}
|
}
|
||||||
|
|
||||||
return <td {...this.attrs.all()}>{vnode.children}</td>;
|
return <td {...this.attrs.all()}>{vnode.children}</td>;
|
||||||
|
@@ -34,7 +34,7 @@ export default class TableColumn extends Component {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if ((!vnode.children || vnode.children.length === 0) && this.attrs.get('type') === 'checkbox') {
|
if ((!vnode.children || vnode.children.length === 0) && this.attrs.get('type') === 'checkbox') {
|
||||||
vnode.children = <mwc-checkbox/>;
|
vnode.children = <mwc-checkbox className="mdc-data-table__header-row-checkbox" />;
|
||||||
}
|
}
|
||||||
|
|
||||||
return <th {...this.attrs.all()} role="columnheader" scope="col">{vnode.children}</th>;
|
return <th {...this.attrs.all()} role="columnheader" scope="col">{vnode.children}</th>;
|
||||||
|
Reference in New Issue
Block a user