Fix/workflow retry (#11999)
This commit is contained in:
parent
e068bbec73
commit
ef95b1268e
5 changed files with 130 additions and 29 deletions
|
|
@ -31,7 +31,7 @@ const RetryOnNode = ({
|
|||
}, [data._runningStatus, showSelectedBorder])
|
||||
const showDefault = !isRunning && !isSuccessful && !isException && !isFailed
|
||||
|
||||
if (!retry_config)
|
||||
if (!retry_config?.retry_enabled)
|
||||
return null
|
||||
|
||||
return (
|
||||
|
|
@ -74,7 +74,7 @@ const RetryOnNode = ({
|
|||
}
|
||||
</div>
|
||||
{
|
||||
!showDefault && (
|
||||
!showDefault && !!data._retryIndex && (
|
||||
<div>
|
||||
{data._retryIndex}/{data.retry_config?.max_retries}
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue