@smartbit4all/ng-client 3.3.94 → 3.3.95
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.
- package/esm2020/lib/smart-tree/smarttree-generic.service.mjs +6 -4
- package/fesm2015/smartbit4all-ng-client.mjs +5 -3
- package/fesm2015/smartbit4all-ng-client.mjs.map +1 -1
- package/fesm2020/smartbit4all-ng-client.mjs +5 -3
- package/fesm2020/smartbit4all-ng-client.mjs.map +1 -1
- package/package.json +1 -1
- package/smartbit4all-ng-client-3.3.95.tgz +0 -0
- package/smartbit4all-ng-client-3.3.94.tgz +0 -0
|
@@ -12024,10 +12024,12 @@ class SmarttreeGenericService extends SmarttreeService {
|
|
|
12024
12024
|
await this.initialize();
|
|
12025
12025
|
}
|
|
12026
12026
|
async syncTree() {
|
|
12027
|
-
|
|
12028
|
-
|
|
12029
|
-
|
|
12027
|
+
if (this.treeFromBackend === null || this.treeFromBackend === undefined) {
|
|
12028
|
+
//throw new Error('There is no treeFromBackend available!');
|
|
12029
|
+
console.warn('There is no treeFromBackend available in syncTree!');
|
|
12030
|
+
return;
|
|
12030
12031
|
}
|
|
12032
|
+
await this.cacheActionDesciptors(this.getAllNodes(this.treeFromBackend));
|
|
12031
12033
|
if (!this.smartTreeModel) {
|
|
12032
12034
|
this.smartTreeModel = {
|
|
12033
12035
|
rootNodes: [],
|