diff --git a/web/app/components/workflow/panel/workflow-preview.tsx b/web/app/components/workflow/panel/workflow-preview.tsx index 7fee3436b2..0c751f0360 100644 --- a/web/app/components/workflow/panel/workflow-preview.tsx +++ b/web/app/components/workflow/panel/workflow-preview.tsx @@ -146,8 +146,8 @@ const WorkflowPreview = () => { >{t('runLog.tracing')}
{currentTab === 'INPUT' && showInputsPanel && ( switchTab('RESULT')} /> @@ -191,18 +191,19 @@ const WorkflowPreview = () => { /> )} {currentTab === 'DETAIL' && !workflowRunningData?.result && ( -
+
)} {currentTab === 'TRACING' && ( )} {currentTab === 'TRACING' && !workflowRunningData?.tracing?.length && ( -
+
)} diff --git a/web/app/components/workflow/run/index.tsx b/web/app/components/workflow/run/index.tsx index 94d9cc41ff..9e636e902b 100644 --- a/web/app/components/workflow/run/index.tsx +++ b/web/app/components/workflow/run/index.tsx @@ -192,7 +192,7 @@ const RunPanel: FC = ({ hideResult, activeTab = 'RESULT', runID, getRe >{t('runLog.tracing')}
{/* panel detail */} -
+
{loading && (
@@ -220,6 +220,7 @@ const RunPanel: FC = ({ hideResult, activeTab = 'RESULT', runID, getRe )} {!loading && currentTab === 'TRACING' && ( diff --git a/web/app/components/workflow/run/node.tsx b/web/app/components/workflow/run/node.tsx index 1016f9f4f9..14270aa529 100644 --- a/web/app/components/workflow/run/node.tsx +++ b/web/app/components/workflow/run/node.tsx @@ -85,7 +85,7 @@ const NodePanel: FC = ({ } return (
-
+
= ({ )} {!isRunning && error && (
-
-
{error}
-
+ + {error} +
)} {!isRunning && !outputs && !error && (