bam32bittheme
Advanced tools
Comparing version 2.1.129 to 2.1.130
@@ -89,4 +89,4 @@ "use strict"; | ||
const numericSortingFn = (rowA, rowB, columnId) => { | ||
const a = parseFloat(rowA.getValue(columnId)); | ||
const b = parseFloat(rowB.getValue(columnId)); | ||
const a = parseFloat(rowA.getValue(columnId).replace(/\./g, '').replace(',', '.')); | ||
const b = parseFloat(rowB.getValue(columnId).replace(/\./g, '').replace(',', '.')); | ||
return a > b ? 1 : a < b ? -1 : 0; | ||
@@ -154,6 +154,6 @@ }; | ||
(0, _react.useEffect)(() => { | ||
const normalizedGlobalFilter = globalFilter !== null && globalFilter !== void 0 && globalFilter.length ? globalFilter.replace(/\s+/g, "").toLocaleLowerCase("tr-TR") : [""]; | ||
const normalizedGlobalFilter = globalFilter !== null && globalFilter !== void 0 && globalFilter.length ? globalFilter.replace(/\s+/g, '').toLocaleLowerCase('tr-TR') : ['']; | ||
const filteredRows = rows.filter(row => { | ||
const columnValues = columns.map(column => row[column === null || column === void 0 ? void 0 : column.field]); | ||
const normalizedRowValues = columnValues.join("").replace(/\s+/g, "").toLocaleLowerCase("tr-TR"); | ||
const normalizedRowValues = columnValues.join('').replace(/\s+/g, '').toLocaleLowerCase('tr-TR'); | ||
return normalizedRowValues.includes(normalizedGlobalFilter); | ||
@@ -160,0 +160,0 @@ }); |
{ | ||
"name": "bam32bittheme", | ||
"version": "2.1.129", | ||
"version": "2.1.130", | ||
"private": false, | ||
@@ -5,0 +5,0 @@ "description": "32bit Theme for Material UI v5.x", |
1586270