Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
This commit is contained in:
parent
3c24e2eca0
commit
943113453a
2 changed files with 2 additions and 2 deletions
|
@ -22,7 +22,7 @@ describe('StatusBadge', () => {
|
|||
it('displays failed message', () => {
|
||||
expect(shallowWithIntl(<StatusBadge status="failed" />)).toMatchInlineSnapshot(`
|
||||
<EuiBadge
|
||||
color="#bd271e"
|
||||
color="#ff7e62"
|
||||
>
|
||||
Failed
|
||||
</EuiBadge>
|
||||
|
|
|
@ -19,7 +19,7 @@ export function colorFromStatus(color: UptimeAppColors, status?: string) {
|
|||
case 'succeeded':
|
||||
return color.success;
|
||||
case 'failed':
|
||||
return color.danger;
|
||||
return color.dangerBehindText;
|
||||
default:
|
||||
return 'default';
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue