Skip to content

Commit

Permalink
Fixed #14835 - Multiselect | filter not working
Browse files Browse the repository at this point in the history
  • Loading branch information
mehmetcetin01140 committed Feb 26, 2024
1 parent fc8747b commit 6a389d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/components/utils/objectutils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ export class ObjectUtils {
}

public static isObject(value, empty = true) {
return value instanceof Object && value.constructor === Object && (empty || Object.keys(value).length !== 0);
return typeof value === 'object' && value !== null && (empty || Object.keys(value).length !== 0);
}

public static equals(obj1: any, obj2: any, field?: string): boolean {
Expand Down

0 comments on commit 6a389d7

Please sign in to comment.