Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

fix: close log status option raise error (#8826)

非法操作d6b9587a9795
diff --git a/web/app/components/app/log/filter.tsx b/web/app/components/app/log/filter.tsx
index 0552b44d16b..b8d7ca5a36b 100644
--- a/web/app/components/app/log/filter.tsx
+++ b/web/app/components/app/log/filter.tsx
@@ -55,6 +55,8 @@ const Filter: FC<IFilterProps> = ({ isChatMode, appId, queryParams, setQueryPara
className='!w-[300px]'
onSelect={
(item) => {
+ if (!item.value)
+ return
setQueryParams({ ...queryParams, annotation_status: item.value as string })
}
}
diff --git a/web/app/components/app/workflow-log/filter.tsx b/web/app/components/app/workflow-log/filter.tsx
index d239c39d2cf..58b5252c074 100644
--- a/web/app/components/app/workflow-log/filter.tsx
+++ b/web/app/components/app/workflow-log/filter.tsx
@@ -23,6 +23,8 @@ const Filter: FC<IFilterProps> = ({ queryParams, setQueryParams }: IFilterProps)
className='!min-w-[100px]'
onSelect={
(item) => {
+ if (!item.value)
+ return
setQueryParams({ ...queryParams, status: item.value as string })
}
}