Skip to content

Commit

Permalink
Merge branch 'feat/support-file-download-in-workflow' into deploy/dev
Browse files Browse the repository at this point in the history
  • Loading branch information
JzoNgKVO committed Dec 4, 2024
2 parents f708f9c + 4cbc59d commit 3930328
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion web/app/components/workflow/run/output-panel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import { Markdown } from '@/app/components/base/markdown'
import LoadingAnim from '@/app/components/base/chat/chat/loading-anim'
import { FileList } from '@/app/components/base/file-uploader'
import StatusContainer from '@/app/components/workflow/run/status-container'
import { getProcessedFilesFromResponse } from '@/app/components/base/file-uploader/utils'

type OutputPanelProps = {
isRunning?: boolean
Expand Down Expand Up @@ -43,7 +44,7 @@ const OutputPanel: FC<OutputPanelProps> = ({
fileList.push(outputs[key])
}
}
return fileList
return getProcessedFilesFromResponse(fileList)
}, [outputs])
return (
<div className='py-2'>
Expand Down

0 comments on commit 3930328

Please sign in to comment.