Skip to content

Commit 909fc58

Browse files
authored
Merge branch 'develop' into feat/manifest-config-diff
2 parents 7de1d6b + ced627b commit 909fc58

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/Common/AppStatus/AppStatus.tsx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
*/
1616

1717
import Tippy from '@tippyjs/react'
18+
import { ReactComponent as ICErrorCross } from '@Icons/ic-error-cross.svg'
1819
import { ReactComponent as InfoIcon } from '../../Assets/Icon/ic-info-outlined.svg'
1920
import { StatusConstants, YET_TO_RUN } from './constants'
2021
import { AppStatusType } from './types'
@@ -52,7 +53,11 @@ export default function AppStatus({
5253

5354
const renderIcon = () => {
5455
if (iconClass) {
55-
return <span className={`dc__app-summary__icon icon-dim-16 ${iconClass} ${iconClass}--node`} />
56+
return iconClass === 'failed' || iconClass === 'error' ? (
57+
<ICErrorCross className="icon-dim-16 dc__no-shrink ic-error-cross-red" />
58+
) : (
59+
<span className={`dc__app-summary__icon icon-dim-16 ${iconClass} ${iconClass}--node`} />
60+
)
5661
}
5762
if (isVirtualEnv) {
5863
return (

0 commit comments

Comments
 (0)