@c8y/ngx-components 1018.503.72 → 1018.503.76
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/core/login/login.service.mjs +2 -2
- package/esm2020/ecosystem/packages/package-versions/package-versions-list/package-versions-list.component.mjs +2 -2
- package/esm2020/ecosystem/shared/ecosystem.service.mjs +5 -1
- package/fesm2015/c8y-ngx-components-ecosystem-shared.mjs +5 -0
- package/fesm2015/c8y-ngx-components-ecosystem-shared.mjs.map +1 -1
- package/fesm2015/c8y-ngx-components-ecosystem.mjs +1 -1
- package/fesm2015/c8y-ngx-components-ecosystem.mjs.map +1 -1
- package/fesm2015/c8y-ngx-components.mjs +1 -1
- package/fesm2015/c8y-ngx-components.mjs.map +1 -1
- package/fesm2020/c8y-ngx-components-ecosystem-shared.mjs +4 -0
- package/fesm2020/c8y-ngx-components-ecosystem-shared.mjs.map +1 -1
- package/fesm2020/c8y-ngx-components-ecosystem.mjs +1 -1
- package/fesm2020/c8y-ngx-components-ecosystem.mjs.map +1 -1
- package/fesm2020/c8y-ngx-components.mjs +1 -1
- package/fesm2020/c8y-ngx-components.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -592,6 +592,10 @@ class EcosystemService {
|
|
|
592
592
|
// if (isNewVersion) {
|
|
593
593
|
// return await this.getApplication(app);
|
|
594
594
|
// }
|
|
595
|
+
const notInitialPackage = app.applicationVersions?.length > 0;
|
|
596
|
+
if (notInitialPackage) {
|
|
597
|
+
return (await this.applicationService.update({ id: app.id })).data;
|
|
598
|
+
}
|
|
595
599
|
return (await this.setAppActiveVersion(app, (binaryMo.binaryId || binaryMo.id))).data;
|
|
596
600
|
}
|
|
597
601
|
async validateArchiveToAppCompatibility(archive, app) {
|