Skip to content

Commit de5f47e

Browse files
committed
Adjust kcp path calculation
1 parent 779353a commit de5f47e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

projects/lib/portal-options/services/luigi-extended-global-context-config.service.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import { kcpRootOrgsPath } from '../models/constants';
12
import { Injectable, inject } from '@angular/core';
23
import {
34
AuthService,
@@ -48,6 +49,7 @@ export class LuigiExtendedGlobalContextConfigServiceImpl
4849
organization: entityId,
4950
organizationId: `${organizationOriginClusterId}/${entityId}`,
5051
kcpCA: btoa(accountInfo?.spec?.clusterInfo?.ca),
52+
kcpPath: `${kcpRootOrgsPath}:${entityId}`,
5153
entityId: `${organizationOriginClusterId}/${entityId}`, // if no entity selected the entityId is the same as the organizationId
5254
entityName: entityId,
5355
};

0 commit comments

Comments
 (0)