Skip to content

Commit

Permalink
fix deep search null error
Browse files Browse the repository at this point in the history
  • Loading branch information
alireza0 committed Dec 5, 2023
1 parent e6c6c92 commit f7e439b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/assets/js/util/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ class ObjectUtil {
}
}
} else {
return obj.toString().toLowerCase().indexOf(key.toLowerCase()) >= 0;
return this.isEmpty(obj) ? false : obj.toString().toLowerCase().indexOf(key.toLowerCase()) >= 0;
}
return false;
}
Expand Down

0 comments on commit f7e439b

Please sign in to comment.