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}
|
||||
>
|
||||
{this.rowsPerPage.options.map(
|
||||
(value) => {
|
||||
const rowsPerPage = Number.parseInt(value, 10);
|
||||
return (
|
||||
rowsPerPage => (
|
||||
<mwc-list-item key={rowsPerPage} value={rowsPerPage}>
|
||||
{rowsPerPage}
|
||||
</mwc-list-item>
|
||||
);
|
||||
}
|
||||
)
|
||||
)}
|
||||
</material-select>
|
||||
</div>
|
||||
|
Loading…
x
Reference in New Issue
Block a user