We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3e58a79 commit 3f0167aCopy full SHA for 3f0167a
src/components/tables/CellBoolean.js
@@ -7,6 +7,7 @@ import {
7
faExclamationCircle,
8
} from '@fortawesome/free-solid-svg-icons'
9
import { CellBadge } from 'src/components/tables'
10
+import { CBadge } from '@coreui/react'
11
12
const IconWarning = () => <FontAwesomeIcon icon={faExclamationCircle} className="text-warning" />
13
const IconError = () => <FontAwesomeIcon icon={faTimesCircle} className="text-danger" />
@@ -37,6 +38,9 @@ export default function CellBoolean({
37
38
noDataIsFalse = false,
39
}) {
40
let normalized = cell
41
+ if (cell === 'FAILED') {
42
+ return <CBadge color="danger">Failed. Check Logs</CBadge>
43
+ }
44
if (typeof cell === 'boolean') {
45
normalized = cell
46
} else if (typeof cell === 'string') {
0 commit comments