Skip to content

Commit

Permalink
chore: condition fix
Browse files Browse the repository at this point in the history
  • Loading branch information
shariquerik committed Jan 3, 2024
1 parent f46e714 commit 497d420
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/filterRows.js
Original file line number Diff line number Diff line change
Expand Up @@ -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];
Expand Down

0 comments on commit 497d420

Please sign in to comment.