Skip to content

Commit fc20e49

Browse files
committed
css-fixes
1 parent ff3ab8f commit fc20e49

File tree

2 files changed

+16
-16
lines changed

2 files changed

+16
-16
lines changed

src/components/v2/chartDeploymentHistory/ChartDeploymentHistory.component.tsx

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -292,21 +292,21 @@ function ChartDeploymentHistory({
292292
gridColumnGap: '12px',
293293
}}
294294
>
295-
{installedAppInfo ?
296-
<div
297-
className={`dc__app-summary__icon icon-dim-22 ${
298-
deployment?.status &&
299-
installedAppInfo?.deploymentType === DeploymentAppTypes.GITOPS || installedAppInfo?.deploymentType === DeploymentAppTypes.MANIFEST_DOWNLOAD
300-
? deployment?.status.toLowerCase()
301-
: ''
302-
} ${
303-
installedAppInfo?.deploymentType === DeploymentAppTypes.HELM
304-
? helmDeploymentStatus
305-
: ''
306-
}`}
307-
></div> : ''}
295+
<div
296+
className={`dc__app-summary__icon icon-dim-22 ${
297+
(deployment?.status &&
298+
installedAppInfo?.deploymentType === DeploymentAppTypes.GITOPS) ||
299+
installedAppInfo?.deploymentType === DeploymentAppTypes.MANIFEST_DOWNLOAD
300+
? deployment?.status.toLowerCase()
301+
: ''
302+
} ${
303+
deployment?.status
304+
? helmDeploymentStatus
305+
: ''
306+
}`}
307+
></div>
308308
<div className="flex column left dc__ellipsis-right">
309-
<div className="cn-9 fs-14" data-testid = "chart-deployment-time">
309+
<div className="cn-9 fs-14" data-testid="chart-deployment-time">
310310
{moment(new Date(deployment.deployedAt.seconds * 1000)).format(
311311
Moment12HourFormat,
312312
)}

src/css/icons.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
.deployed,
2525
.synced,
2626
.sync.ok,
27+
.superseded ,
2728
.deploy-success {
2829
background-image: url('../assets/icons/appstatus/healthy.svg');
2930
}
@@ -73,8 +74,7 @@
7374
}
7475

7576
.failed,
76-
.unabletofetch,
77-
.superseded {
77+
.unabletofetch {
7878
background-image: url('../assets/icons/appstatus/ic-appstatus-failed.svg');
7979
}
8080

0 commit comments

Comments
 (0)