mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-02-24 15:27:43 +01:00
perf(datatable): Non convertire in intero (di nuovo)
This commit is contained in:
parent
556062869a
commit
05b2b90477
@ -81,14 +81,11 @@ export default class DataTable extends Component {
|
|||||||
value={this.rowsPerPage.default}
|
value={this.rowsPerPage.default}
|
||||||
>
|
>
|
||||||
{this.rowsPerPage.options.map(
|
{this.rowsPerPage.options.map(
|
||||||
(value) => {
|
rowsPerPage => (
|
||||||
const rowsPerPage = Number.parseInt(value, 10);
|
|
||||||
return (
|
|
||||||
<mwc-list-item key={rowsPerPage} value={rowsPerPage}>
|
<mwc-list-item key={rowsPerPage} value={rowsPerPage}>
|
||||||
{rowsPerPage}
|
{rowsPerPage}
|
||||||
</mwc-list-item>
|
</mwc-list-item>
|
||||||
);
|
)
|
||||||
}
|
|
||||||
)}
|
)}
|
||||||
</material-select>
|
</material-select>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user