edge: Fixes federated edge image details view.
The federated image details been broken by a prior PR. FIXES: https://issues.redhat.com/browse/HMS-2620
This commit is contained in:
parent
3e84abba3f
commit
50b76751e7
1 changed files with 15 additions and 12 deletions
|
|
@ -25,19 +25,22 @@ const ImageDetail = () => {
|
|||
return <div />;
|
||||
}
|
||||
if (edgeParityFlag) {
|
||||
<AsyncComponent
|
||||
appName="edge"
|
||||
module="./ImagesDetail"
|
||||
ErrorComponent={<ErrorState />}
|
||||
navigateProp={useNavigate}
|
||||
locationProp={useLocation}
|
||||
notificationProp={notificationProp}
|
||||
pathPrefix={resolveRelPath('')}
|
||||
urlName={manageEdgeImagesUrlName}
|
||||
paramsProp={useParams}
|
||||
/>;
|
||||
return (
|
||||
<AsyncComponent
|
||||
appName="edge"
|
||||
module="./ImagesDetail"
|
||||
ErrorComponent={<ErrorState />}
|
||||
navigateProp={useNavigate}
|
||||
locationProp={useLocation}
|
||||
notificationProp={notificationProp}
|
||||
pathPrefix={resolveRelPath('')}
|
||||
urlName={manageEdgeImagesUrlName}
|
||||
paramsProp={useParams}
|
||||
/>
|
||||
);
|
||||
} else {
|
||||
return <Unavailable />;
|
||||
}
|
||||
return <Unavailable />;
|
||||
};
|
||||
|
||||
export default ImageDetail;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue