diff --git a/pkg/interface/src/views/landscape/components/ResourceSkeleton.tsx b/pkg/interface/src/views/landscape/components/ResourceSkeleton.tsx index 83bcb958b..ae7b282af 100644 --- a/pkg/interface/src/views/landscape/components/ResourceSkeleton.tsx +++ b/pkg/interface/src/views/landscape/components/ResourceSkeleton.tsx @@ -29,10 +29,10 @@ type ResourceSkeletonProps = { }; export function ResourceSkeleton(props: ResourceSkeletonProps) { - const { association, api, children, atRoot } = props; + const { association, api, baseUrl, children, atRoot } = props; const app = association?.metadata?.module || association["app-name"]; const appPath = association["app-path"]; - const selectedGroup = association["group-path"]; + const workspace = (baseUrl === '/~landscape/home') ? '/home' : association["group-path"]; const title = props.title || association?.metadata?.title; return (