mirror of
https://github.com/langgenius/dify.git
synced 2026-05-06 02:18:08 +08:00
refact workflow run log
This commit is contained in:
@ -24,6 +24,7 @@ import Toast from '../../base/toast'
|
||||
import InputsPanel from './inputs-panel'
|
||||
import cn from '@/utils/classnames'
|
||||
import Loading from '@/app/components/base/loading'
|
||||
import formatNodeList from '@/app/components/workflow/run/utils/format-log'
|
||||
|
||||
const WorkflowPreview = () => {
|
||||
const { t } = useTranslation()
|
||||
@ -160,7 +161,7 @@ const WorkflowPreview = () => {
|
||||
{currentTab === 'TRACING' && (
|
||||
<TracingPanel
|
||||
className='bg-background-section-burn'
|
||||
list={workflowRunningData?.tracing || []}
|
||||
list={formatNodeList(workflowRunningData?.tracing || [], t)}
|
||||
/>
|
||||
)}
|
||||
{currentTab === 'TRACING' && !workflowRunningData?.tracing?.length && (
|
||||
|
||||
Reference in New Issue
Block a user