瀏覽代碼

Fix/workflow retry log (#12013)

zxhlyh 4 月之前
父節點
當前提交
2bf33c4dd2
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      web/app/components/workflow/nodes/_base/components/retry/retry-on-node.tsx

+ 3 - 0
web/app/components/workflow/nodes/_base/components/retry/retry-on-node.tsx

@@ -34,6 +34,9 @@ const RetryOnNode = ({
   if (!retry_config?.retry_enabled)
     return null
 
+  if (!showDefault && !data._retryIndex)
+    return null
+
   return (
     <div className='px-3'>
       <div className={cn(