@c8y/ngx-components 1023.14.136 → 1023.14.138
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/fesm2022/c8y-ngx-components.mjs +4 -4
- package/fesm2022/c8y-ngx-components.mjs.map +1 -1
- package/index.d.ts +1 -0
- package/index.d.ts.map +1 -1
- package/locales/de.po +9 -0
- package/locales/es.po +9 -0
- package/locales/fr.po +9 -0
- package/locales/ja_JP.po +9 -0
- package/locales/ko.po +9 -0
- package/locales/nl.po +9 -0
- package/locales/pl.po +9 -0
- package/locales/pt_BR.po +9 -0
- package/locales/zh_CN.po +9 -0
- package/locales/zh_TW.po +9 -0
- package/package.json +1 -1
|
@@ -21684,6 +21684,7 @@ class PlatformDetailsService {
|
|
|
21684
21684
|
// self link should still allow to identify the actual environment of the tenant
|
|
21685
21685
|
const tenantSelfLink = this.appState.currentTenant.value?.self;
|
|
21686
21686
|
const tenantDomainName = this.appState.currentTenant.value?.domainName;
|
|
21687
|
+
const parentTenantId = this.appState.currentTenant.value?.parent;
|
|
21687
21688
|
const applicationKey = this.appState.currentApplication.value?.key;
|
|
21688
21689
|
const applicationId = this.appState.currentApplication.value?.id;
|
|
21689
21690
|
const time = new Date().toISOString();
|
|
@@ -21693,6 +21694,7 @@ class PlatformDetailsService {
|
|
|
21693
21694
|
tenantId,
|
|
21694
21695
|
tenantSelfLink,
|
|
21695
21696
|
tenantDomainName,
|
|
21697
|
+
parentTenantId,
|
|
21696
21698
|
url,
|
|
21697
21699
|
userId,
|
|
21698
21700
|
userPermissions,
|
|
@@ -21703,9 +21705,7 @@ class PlatformDetailsService {
|
|
|
21703
21705
|
return obj;
|
|
21704
21706
|
}
|
|
21705
21707
|
async getVersions() {
|
|
21706
|
-
const versions = await this.version.items
|
|
21707
|
-
.pipe(take(1), map(versions => this.version.cleanUpVersions(versions)))
|
|
21708
|
-
.toPromise();
|
|
21708
|
+
const versions = await firstValueFrom(this.version.items$.pipe(take(1), map(versions => this.version.cleanUpVersions(versions))));
|
|
21709
21709
|
return versions;
|
|
21710
21710
|
}
|
|
21711
21711
|
async getMicroserviceVersions(userId) {
|
|
@@ -21720,7 +21720,7 @@ class PlatformDetailsService {
|
|
|
21720
21720
|
.map(app => {
|
|
21721
21721
|
return {
|
|
21722
21722
|
label: app.name,
|
|
21723
|
-
version: app.manifest
|
|
21723
|
+
version: app.manifest?.version,
|
|
21724
21724
|
type: app.type,
|
|
21725
21725
|
custom: {
|
|
21726
21726
|
owner: app.owner?.tenant?.id,
|