Skip to content

Commit

Permalink
Fix status name and key values
Browse files Browse the repository at this point in the history
  • Loading branch information
lucianogorza committed Mar 19, 2024
1 parent 83cc72f commit 8c307d3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -237,9 +237,9 @@ export const UpgradeAgentsModalResult = ({
<EuiSpacer size='s' />
) : null}
{totalErrorAgents ? (
<EuiFlexItem key='upgrade-tasks-success'>
<EuiFlexItem key='upgrade-tasks-error'>
<EuiAccordion
id={`$successAccordion`}
id={`$errorAccordion`}
arrowDisplay='none'
paddingSize='m'
buttonContent={resultStatus({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ export const AgentUpgradesInProgress = ({
<EuiProgress size='xs' color='warning' position='absolute' />
<EuiText size='s'>
<b>{totalInProgressTasks}</b>
{' In progress'}
{` ${API_NAME_TASK_STATUS.IN_PROGRESS}`}
</EuiText>
</EuiPanel>
</EuiFlexItem>
Expand All @@ -149,7 +149,7 @@ export const AgentUpgradesInProgress = ({
<span>
<EuiText size='s'>
<b>{totalSuccessTasks}</b>
{' Success '}
{` ${API_NAME_TASK_STATUS.DONE} `}
<EuiIconTip content='Last 60 minutes' color='primary' />
</EuiText>
</span>
Expand All @@ -169,7 +169,7 @@ export const AgentUpgradesInProgress = ({
<span>
<EuiText size='s'>
<b>{totalErrorUpgradeTasks}</b>
{' Failed '}
{` ${API_NAME_TASK_STATUS.FAILED} `}
<EuiIconTip content='Last 60 minutes' color='primary' />
</EuiText>
</span>
Expand All @@ -189,7 +189,7 @@ export const AgentUpgradesInProgress = ({
<span>
<EuiText size='s'>
<b>{totalTimeoutUpgradeTasks}</b>
{' Timeout '}
{` ${API_NAME_TASK_STATUS.TIMEOUT} `}
<EuiIconTip content='Last 60 minutes' color='primary' />
</EuiText>
</span>
Expand Down

0 comments on commit 8c307d3

Please sign in to comment.