Skip to content

Commit

Permalink
fix: close log status option raise error (langgenius#8826)
Browse files Browse the repository at this point in the history
  • Loading branch information
hjlarry authored and lau-td committed Oct 23, 2024
1 parent cfcfabf commit ae541b2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions web/app/components/app/log/filter.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 })
}
}
Expand Down
2 changes: 2 additions & 0 deletions web/app/components/app/workflow-log/filter.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 })
}
}
Expand Down

0 comments on commit ae541b2

Please sign in to comment.