1
0
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:
Maicol Battistini 2021-11-30 16:53:22 +01:00
parent 556062869a
commit 05b2b90477
No known key found for this signature in database
GPG Key ID: 4FDB0F87CDB1D34A

View File

@ -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>