@dexteel/mesf-core 4.8.3 → 4.8.4
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/CHANGELOG.md +2 -0
- package/dist/index.esm.js +20 -17
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
# CHANGELOG
|
|
2
|
+
## 4.8.4
|
|
3
|
+
- Trending: In Add Tag modal, fix unnecessary calls to /children bug. Now only makes calls when the tag has childrens (#203)
|
|
2
4
|
## 4.8.3
|
|
3
5
|
- Trending: Add new icon to ViewTags table and Add tag modal to know if it is Digital or Real (#205 and #206)
|
|
4
6
|
## 4.8.2
|
package/dist/index.esm.js
CHANGED
|
@@ -10123,31 +10123,34 @@ var TagSelectionModal = function (_a) {
|
|
|
10123
10123
|
case 2:
|
|
10124
10124
|
response = _a.sent();
|
|
10125
10125
|
return [4 /*yield*/, Promise.all(response.data.map(function (dbTag) { return __awaiter(void 0, void 0, void 0, function () {
|
|
10126
|
-
var
|
|
10126
|
+
var children, childTagName;
|
|
10127
10127
|
return __generator(this, function (_a) {
|
|
10128
10128
|
switch (_a.label) {
|
|
10129
10129
|
case 0:
|
|
10130
|
+
children = null;
|
|
10130
10131
|
childTagName = tagName !== "root" ? tagName + "." + dbTag.tagName : dbTag.tagName;
|
|
10132
|
+
if (!isNil$1(dbTag.tagType)) return [3 /*break*/, 2];
|
|
10131
10133
|
return [4 /*yield*/, fetchChildren(childTagName, depth + 1, maxDepth)];
|
|
10132
10134
|
case 1:
|
|
10133
10135
|
children = _a.sent();
|
|
10134
|
-
|
|
10136
|
+
_a.label = 2;
|
|
10137
|
+
case 2: return [2 /*return*/, {
|
|
10138
|
+
TagId: dbTag.tagId,
|
|
10139
|
+
TagName: childTagName,
|
|
10140
|
+
shortName: dbTag.tagName,
|
|
10141
|
+
children: children,
|
|
10142
|
+
isLoaded: true,
|
|
10143
|
+
tag: {
|
|
10135
10144
|
TagId: dbTag.tagId,
|
|
10136
|
-
TagName:
|
|
10137
|
-
|
|
10138
|
-
|
|
10139
|
-
|
|
10140
|
-
|
|
10141
|
-
|
|
10142
|
-
|
|
10143
|
-
|
|
10144
|
-
|
|
10145
|
-
MinScale: dbTag.minScale,
|
|
10146
|
-
MaxScale: dbTag.maxScale,
|
|
10147
|
-
IsVisible: true,
|
|
10148
|
-
TagType: dbTag.tagType
|
|
10149
|
-
}
|
|
10150
|
-
}];
|
|
10145
|
+
TagName: dbTag.tagName,
|
|
10146
|
+
Color: dbTag.color || getColor(),
|
|
10147
|
+
IsAutoScale: true,
|
|
10148
|
+
MinScale: dbTag.minScale,
|
|
10149
|
+
MaxScale: dbTag.maxScale,
|
|
10150
|
+
IsVisible: true,
|
|
10151
|
+
TagType: dbTag.tagType
|
|
10152
|
+
}
|
|
10153
|
+
}];
|
|
10151
10154
|
}
|
|
10152
10155
|
});
|
|
10153
10156
|
}); }))];
|