File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change 15
15
*/
16
16
17
17
import Tippy from '@tippyjs/react'
18
+ import { ReactComponent as ICErrorCross } from '@Icons/ic-error-cross.svg'
18
19
import { ReactComponent as InfoIcon } from '../../Assets/Icon/ic-info-outlined.svg'
19
20
import { StatusConstants , YET_TO_RUN } from './constants'
20
21
import { AppStatusType } from './types'
@@ -52,7 +53,11 @@ export default function AppStatus({
52
53
53
54
const renderIcon = ( ) => {
54
55
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
+ )
56
61
}
57
62
if ( isVirtualEnv ) {
58
63
return (
You can’t perform that action at this time.
0 commit comments