mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-06-05 22:09:38 +02:00
perf(datatable): Non convertire in intero (di nuovo)
This commit is contained in:
@@ -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>
|
||||
|
Reference in New Issue
Block a user