Skip to content

Commit

Permalink
bug: add parent ref node info on resource list
Browse files Browse the repository at this point in the history
Signed-off-by: ashutosh16 <[email protected]>
  • Loading branch information
ashutosh16 committed Nov 13, 2023
1 parent 33882e5 commit 09e3d1c
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export const ApplicationResourceList = ({
const view = searchParams.get('view');

const ParentRefDetails = () => {
return (
return Object.keys(parentNode).length > 0 ? (
<div className='resource-parent-node-info-title'>
<div>Parent Node Info</div>
<div className='resource-parent-node-info-title__label'>
Expand All @@ -47,6 +47,8 @@ export const ApplicationResourceList = ({
<div>{parentNode?.kind}</div>
</div>
</div>
) : (
<div />
);
};
return (
Expand Down

0 comments on commit 09e3d1c

Please sign in to comment.