diff --git a/web/app/components/workflow/panel/run-history.tsx b/web/app/components/workflow/panel/run-history.tsx
index 85f2fd62c0..ccc19a4769 100644
--- a/web/app/components/workflow/panel/run-history.tsx
+++ b/web/app/components/workflow/panel/run-history.tsx
@@ -17,6 +17,7 @@ import {
import { useStore as useAppStore } from '@/app/components/app/store'
import { fetcChatRunHistory, fetchWorkflowRunHistory } from '@/service/workflow'
import Loading from '@/app/components/base/loading'
+import { ClockPlay } from '@/app/components/base/icons/src/vender/line/time'
const RunHistory = () => {
const { t } = useTranslation()
@@ -62,6 +63,20 @@ const RunHistory = () => {
)
}
+ {
+ !data?.data.length && (
+
+
+
+
+
+
+ {t('workflow.common.notRunning')}
+
+
+
+ )
+ }
{
data?.data.map(item => (
{
elapsed_time={workflowRunningData?.result?.elapsed_time}
total_tokens={workflowRunningData?.result?.total_tokens}
created_at={workflowRunningData?.result?.created_at}
- created_by={''}
+ created_by={(workflowRunningData?.result?.created_by as any)?.name}
steps={workflowRunningData?.result?.total_steps}
/>
)}
diff --git a/web/i18n/en-US/workflow.ts b/web/i18n/en-US/workflow.ts
index 5b8c3d8571..cbcbd6f3fc 100644
--- a/web/i18n/en-US/workflow.ts
+++ b/web/i18n/en-US/workflow.ts
@@ -29,6 +29,7 @@ const translation = {
needConnecttip: 'This step is not connected to anything',
maxTreeDepth: 'Maximum limit of {{depth}} nodes per branch',
workflowProcess: 'Workflow Process',
+ notRunning: 'Not running yet',
},
errorMsg: {
fieldRequired: '{{field}} is required',
diff --git a/web/i18n/zh-Hans/workflow.ts b/web/i18n/zh-Hans/workflow.ts
index 0d9fb0891d..30f2739f7c 100644
--- a/web/i18n/zh-Hans/workflow.ts
+++ b/web/i18n/zh-Hans/workflow.ts
@@ -29,6 +29,7 @@ const translation = {
needConnecttip: '此节点尚未连接到其他节点',
maxTreeDepth: '每个分支最大限制 {{depth}} 个节点',
workflowProcess: '工作流',
+ notRunning: '尚未运行',
},
errorMsg: {
fieldRequired: '{{field}} 不能为空',