Merge pull request #189 from shariquerik/chore-1

chore: condition fix
This commit is contained in:
Shariq Ansari 2024-01-03 14:13:23 +05:30 committed by GitHub
commit 89d3149695
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -33,7 +33,7 @@ export default function filterRows(rows, filters, data) {
function getFilterMethod(rows, data, filter) {
const getFormattedValue = cell => {
let formatter = CellManager.getCustomCellFormatter(cell);
if (data && data.data & data.data.length) {
if (data && data.data && data.data.length) {
data = data.data[cell.rowIndex];
} else {
data = rows[cell.rowIndex];