@c8y/ngx-components 1018.0.245 → 1018.0.247
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/core/bootstrap/cookie-banner/cookie-banner.service.d.ts +1 -1
- package/esm2020/core/bootstrap/cookie-banner/cookie-banner.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/locales/de.po +3 -0
- package/locales/es.po +3 -0
- package/locales/fr.po +3 -0
- package/locales/ja_JP.po +3 -0
- package/locales/locales.pot +2 -2
- package/locales/nl.po +3 -0
- package/locales/pl.po +3 -0
- package/locales/pt_BR.po +3 -0
- package/package.json +1 -1
|
@@ -537,6 +537,10 @@ class EcosystemService {
|
|
|
537
537
|
// if (isNewVersion) {
|
|
538
538
|
// return await this.getApplication(app);
|
|
539
539
|
// }
|
|
540
|
+
const notInitialPackage = app.applicationVersions?.length > 0;
|
|
541
|
+
if (notInitialPackage) {
|
|
542
|
+
return (await this.applicationService.update({ id: app.id })).data;
|
|
543
|
+
}
|
|
540
544
|
return (await this.setAppActiveVersion(app, (binaryMo.binaryId || binaryMo.id))).data;
|
|
541
545
|
}
|
|
542
546
|
async validateArchiveToAppCompatibility(archive, app) {
|