Lots of Bugfixes (#2977)
This commit is contained in:
parent
8c629695ef
commit
616ed7a75d
26 changed files with 427 additions and 244 deletions
|
|
@ -133,7 +133,7 @@ export class UtilityService {
|
|||
);
|
||||
}
|
||||
|
||||
deepEqual(object1: any, object2: any) {
|
||||
deepEqual(object1: any | undefined | null, object2: any | undefined | null) {
|
||||
if ((object1 === null || object1 === undefined) && (object2 !== null || object2 !== undefined)) return false;
|
||||
if ((object2 === null || object2 === undefined) && (object1 !== null || object1 !== undefined)) return false;
|
||||
if (object1 === null && object2 === null) return true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue