mirror of
https://github.com/langgenius/dify.git
synced 2026-02-10 13:04:25 +08:00
add info panel
This commit is contained in:
parent
330585ec9b
commit
93ec42344c
@ -26,6 +26,7 @@ import InputsPanel from './inputs-panel'
|
||||
import cn from '@/utils/classnames'
|
||||
import Loading from '@/app/components/base/loading'
|
||||
import Button from '@/app/components/base/button'
|
||||
import HumanInputInfo from './human-input-info'
|
||||
|
||||
const WorkflowPreview = () => {
|
||||
const { t } = useTranslation()
|
||||
@ -167,7 +168,12 @@ const WorkflowPreview = () => {
|
||||
)}
|
||||
{currentTab === 'RESULT' && (
|
||||
<>
|
||||
{/* human input form position */}
|
||||
{/* human input form position TODO */}
|
||||
<HumanInputInfo
|
||||
nodeTitle="Human Input Required"
|
||||
nodeID="human-input-node-id"
|
||||
formData={{}}
|
||||
/>
|
||||
<ResultText
|
||||
isRunning={workflowRunningData?.result?.status === WorkflowRunningStatus.Running || !workflowRunningData?.result}
|
||||
outputs={workflowRunningData?.resultText}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user