Skip to content

Commit f3ee1f2

Browse files
committed
chore: Navlink added to header
1 parent 2ec77a7 commit f3ee1f2

1 file changed

Lines changed: 11 additions & 8 deletions

File tree

src/Shared/Components/Error/ErrorBar.tsx

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -40,15 +40,11 @@ const ErrorBar = ({ appDetails, useParentMargin = true }: ErrorBarType) => {
4040
isImagePullBackOff && (
4141
<div className={`flexbox-col dc__gap-16 ${useParentMargin ? 'm-20' : ''} fs-13`}>
4242
<InfoBlock
43-
heading={`ImagePullBackOff: Failed to pull image on ‘${appDetails.clusterName}’ from ‘${appDetails.dockerRegistryId}’ `}
44-
description={
45-
<div className="flexbox top fs-13 lh-20 cn-9 dc__content-space">
43+
heading={
44+
<div className="flexbox-col dc__content-space">
4645
<div>
47-
<span>Possible causes for ImagePullBackOff:</span>
48-
<div>
49-
&nbsp;&bull; The cluster may not have permission to pull images from the registry
50-
</div>
51-
<div>&nbsp;&bull; The image tag might be incorrect or missing in the registry</div>
46+
ImagePullBackOff: Failed to pull image on ‘{appDetails.clusterName}’ from ‘
47+
{appDetails.dockerRegistryId}
5248
</div>
5349
<NavLink
5450
to={`${URLS.GLOBAL_CONFIG_DOCKER}/${appDetails.dockerRegistryId}`}
@@ -58,6 +54,13 @@ const ErrorBar = ({ appDetails, useParentMargin = true }: ErrorBarType) => {
5854
</NavLink>
5955
</div>
6056
}
57+
description={
58+
<div className="flexbox top fs-13 lh-20 cn-9 dc__content-space">
59+
<span>Possible causes for ImagePullBackOff:</span>
60+
<div>&nbsp;&bull; The cluster may not have permission to pull images from the registry</div>
61+
<div>&nbsp;&bull; The image tag might be incorrect or missing in the registry</div>
62+
</div>
63+
}
6164
variant="error"
6265
/>
6366
</div>

0 commit comments

Comments
 (0)