@c8y/ngx-components 1017.0.133 → 1017.0.135
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/assets-navigator/asset-selector/miller-view.component.mjs +3 -3
- package/esm2020/context-dashboard/widget-config.component.mjs +3 -3
- package/esm2020/ecosystem/activity-log/activity-log.component.mjs +6 -1
- package/fesm2015/c8y-ngx-components-assets-navigator.mjs +2 -2
- package/fesm2015/c8y-ngx-components-assets-navigator.mjs.map +1 -1
- package/fesm2015/c8y-ngx-components-context-dashboard.mjs +2 -2
- package/fesm2015/c8y-ngx-components-context-dashboard.mjs.map +1 -1
- package/fesm2015/c8y-ngx-components-ecosystem.mjs +6 -0
- package/fesm2015/c8y-ngx-components-ecosystem.mjs.map +1 -1
- package/fesm2020/c8y-ngx-components-assets-navigator.mjs +2 -2
- package/fesm2020/c8y-ngx-components-assets-navigator.mjs.map +1 -1
- package/fesm2020/c8y-ngx-components-context-dashboard.mjs +2 -2
- package/fesm2020/c8y-ngx-components-context-dashboard.mjs.map +1 -1
- package/fesm2020/c8y-ngx-components-ecosystem.mjs +5 -0
- package/fesm2020/c8y-ngx-components-ecosystem.mjs.map +1 -1
- package/locales/locales.pot +18 -6
- package/package.json +2 -2
|
@@ -90,9 +90,15 @@ class ActivityLogComponent {
|
|
|
90
90
|
});
|
|
91
91
|
}
|
|
92
92
|
refresh() {
|
|
93
|
+
var _a;
|
|
93
94
|
return __awaiter(this, void 0, void 0, function* () {
|
|
94
95
|
this.isLoading = true;
|
|
95
96
|
this.archives = yield this.ecosystemService.listArchives(this.application.id);
|
|
97
|
+
if (((_a = this.application.manifest) === null || _a === void 0 ? void 0 : _a.package) === 'blueprint') {
|
|
98
|
+
// filter out entries without description because using them as active may break application's
|
|
99
|
+
// manifest (changing isPackage property of deployed app to 'true')
|
|
100
|
+
this.archives = this.archives.filter((archive) => !!archive.description);
|
|
101
|
+
}
|
|
96
102
|
this.archives.sort((a, b) => {
|
|
97
103
|
return new Date(b.created) - new Date(a.created);
|
|
98
104
|
});
|