@dexteel/mesf-core 4.10.2 → 4.10.3
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 +2 -1
- 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.10.3
|
|
3
|
+
- Trending: Fix first view
|
|
2
4
|
## 4.10.2
|
|
3
5
|
- Trending: Fix root of tags tree
|
|
4
6
|
- Trending: When no view detected, the Save View and Save View As work propertly and you can create the first view. Also the unit param was added to the Save View Modal
|
package/dist/index.esm.js
CHANGED
|
@@ -10899,13 +10899,14 @@ var TrendingsPage = function (props) {
|
|
|
10899
10899
|
setViews(viewsResp.data.tables[0].rows);
|
|
10900
10900
|
lastCreated = void 0;
|
|
10901
10901
|
if (!viewSelected || forceReload) {
|
|
10902
|
-
lastCreated = viewsResp.data.tables[0].rows.reduce(function (prev, current) { return (prev.ViewId > current.ViewId) ? prev : current; }, null);
|
|
10902
|
+
lastCreated = viewsResp.data.tables[0].rows.reduce(function (prev, current) { return (prev && (prev.ViewId > current.ViewId)) ? prev : current; }, null);
|
|
10903
10903
|
//viewSelected
|
|
10904
10904
|
setViewSelected(lastCreated);
|
|
10905
10905
|
}
|
|
10906
10906
|
else {
|
|
10907
10907
|
lastCreated = viewSelected;
|
|
10908
10908
|
}
|
|
10909
|
+
console.log(lastCreated);
|
|
10909
10910
|
return [4 /*yield*/, getViewTags(lastCreated.ViewId)];
|
|
10910
10911
|
case 2:
|
|
10911
10912
|
viewTagsResp = _a.sent();
|