@lowcodeunit/applications-flow-common 1.37.91-new-state-setup → 1.37.92-new-state-setup

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.
@@ -8082,7 +8082,15 @@ class ProjectCardComponent {
8082
8082
  ngOnInit() { }
8083
8083
  ngOnChanges() {
8084
8084
  if (this.Projects && this.ProjectLookups && this.Applications) {
8085
- this.BuildTree();
8085
+ let temp = this.BuildTree();
8086
+ // console.log("to string: ", JSON.stringify(temp))
8087
+ if (JSON.stringify(this.DataSource.data) !== JSON.stringify(temp)) {
8088
+ // console.log('Its different')
8089
+ this.DataSource.data = temp;
8090
+ }
8091
+ // else{
8092
+ // console.log('it aint different')
8093
+ // }
8086
8094
  }
8087
8095
  }
8088
8096
  RouteToPath(path) {
@@ -8143,7 +8151,7 @@ class ProjectCardComponent {
8143
8151
  tempTreeData.push(tempProjNode);
8144
8152
  });
8145
8153
  // console.log('THE TREE: ', tempTreeData);
8146
- this.DataSource.data = tempTreeData;
8154
+ return tempTreeData;
8147
8155
  // return tempTreeData;
8148
8156
  }
8149
8157
  HandleRoute(route) {