fix: minor fix

This commit is contained in:
Shariq Ansari 2024-01-03 14:20:01 +05:30
parent f46e7142b7
commit b0e6261285

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?.length) {
data = data.data[cell.rowIndex];
} else {
data = rows[cell.rowIndex];