Skip to content

Commit 7e5ce2e

Browse files
committed
fix: update icons in ci history
1 parent f6be851 commit 7e5ce2e

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

src/Assets/Icon/ic-error.svg

Lines changed: 1 addition & 1 deletion
Loading

src/Assets/Icon/ic-info-filled.svg

Lines changed: 1 addition & 1 deletion
Loading

src/Shared/Components/CICDHistory/TriggerDetails.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ import { useLocation, useParams, useRouteMatch, Link } from 'react-router-dom'
1919
import { getHandleOpenURL } from '@Shared/Helpers'
2020
import { ImageChipCell } from '@Shared/Components/ImageChipCell'
2121
import { CommitChipCell } from '@Shared/Components/CommitChipCell'
22-
import { ReactComponent as ICSuccess } from '@Icons/ic-success.svg'
2322
import { ReactComponent as ICPulsateStatus } from '@Icons/ic-pulsate-status.svg'
2423
import { ReactComponent as ICAborted } from '@Icons/ic-aborted.svg'
2524
import { ReactComponent as ICArrowRight } from '@Icons/ic-arrow-right.svg'
@@ -59,6 +58,7 @@ import { GitTriggers } from '../../types'
5958
import { ConfirmationModal, ConfirmationModalVariantType } from '../ConfirmationModal'
6059
import WorkerStatus from './WorkerStatus'
6160
import { Button, ButtonStyleType, ButtonVariantType } from '../Button'
61+
import { Icon } from '../Icon'
6262

6363
const Finished = memo(({ status, finishedOn, artifact, type, executionInfo }: FinishedType): JSX.Element => {
6464
const finishedOnTime = executionInfo?.finishedOn || finishedOn
@@ -382,7 +382,7 @@ const renderBlockWithBorder = () => (
382382
const renderDetailsSuccessIconBlock = () => (
383383
<>
384384
<div className="flex">
385-
<ICSuccess className="icon-dim-20" />
385+
<Icon size={20} name="ic-success" color={null} />
386386
</div>
387387

388388
{renderBlockWithBorder()}

src/Shared/Components/CICDHistory/WorkerStatus.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@ import { DeploymentStageType } from '@Shared/constants'
1919
import { NavLink } from 'react-router-dom'
2020
import moment from 'moment'
2121
import { ReactComponent as ICLines } from '@Icons/ic-lines.svg'
22-
import { ReactComponent as ICWarningY5 } from '@Icons/ic-warning-y5.svg'
2322
import { isTimeStringAvailable } from '@Shared/Helpers'
2423
import { ShowMoreText } from '../ShowMoreText'
2524
import { FAILED_WORKFLOW_STAGE_STATUS_MAP, TIMEOUT_VALUE, WORKFLOW_STAGE_STATUS_TO_TEXT_MAP } from './constants'
2625
import { getWorkerPodBaseUrl } from './utils'
2726
import { WorkerStatusType } from './types'
27+
import { Icon } from '../Icon'
2828

2929
const WorkerStatus = memo(
3030
({
@@ -65,7 +65,7 @@ const WorkerStatus = memo(
6565
<>
6666
<div className="flexbox dc__content-center">
6767
{FAILED_WORKFLOW_STAGE_STATUS_MAP[podStatus] ? (
68-
<ICWarningY5 className="icon-dim-20 dc__no-shrink" />
68+
<Icon size={20} name="ic-warning" color={null} />
6969
) : (
7070
<ICLines className="icon-dim-20 dc__no-shrink scn-7" />
7171
)}

0 commit comments

Comments
 (0)