Skip to content

Commit

Permalink
run completed with warnings odd
Browse files Browse the repository at this point in the history
  • Loading branch information
TamarZanzouri committed Aug 12, 2024
1 parent 12511b5 commit e4ddf56
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion app/src/pages/RunSummary/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,10 @@ export function RunSummary(): JSX.Element {
isRunCurrent,
})

let headerText = t('run_complete_splash')
let headerText =
commandErrorList != null && commandErrorList.data.length > 0
? t('run_completed_with_warnings')
: t('run_completed_splash')
if (runStatus === RUN_STATUS_FAILED) {
headerText = t('run_failed_splash')
} else if (runStatus === RUN_STATUS_STOPPED) {
Expand Down

0 comments on commit e4ddf56

Please sign in to comment.