@smartbit4all/ng-client 3.3.127 → 3.3.128

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -12907,11 +12907,14 @@ class SmartComponentLayoutUtility {
12907
12907
  return true;
12908
12908
  }
12909
12909
  // both layout1 and layout2 exists
12910
- let l1 = JSON.parse(JSON.stringify(layout1));
12911
- this.setParent(l1, null);
12912
- let l2 = JSON.parse(JSON.stringify(layout2));
12913
- this.setParent(l2, null);
12914
- return deepEqual(l1, l2);
12910
+ let parent1 = layout1.parentComponent;
12911
+ let parent2 = layout1.parentComponent;
12912
+ this.setParent(layout1, null);
12913
+ this.setParent(layout2, null);
12914
+ const result = deepEqual(layout1, layout2);
12915
+ this.setParent(layout1, parent1);
12916
+ this.setParent(layout2, parent2);
12917
+ return result;
12915
12918
  }
12916
12919
  static getForms(comp) {
12917
12920
  let result = [];