@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.
@@ -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
  });