mirror of https://github.com/langgenius/dify.git
fix version not display
This commit is contained in:
parent
33d4c95470
commit
7774ff9944
|
|
@ -7,7 +7,6 @@ import { useStore } from '@/app/components/workflow/store'
|
|||
import {
|
||||
useIsChatMode,
|
||||
} from '../hooks'
|
||||
import VersionHistoryPanel from '@/app/components/workflow/panel/version-history-panel'
|
||||
import CommentsPanel from '@/app/components/workflow/panel/comments-panel'
|
||||
import { useStore as useAppStore } from '@/app/components/app/store'
|
||||
import type { PanelProps } from '@/app/components/workflow/panel'
|
||||
|
|
@ -69,7 +68,6 @@ const WorkflowPanelOnRight = () => {
|
|||
const showDebugAndPreviewPanel = useStore(s => s.showDebugAndPreviewPanel)
|
||||
const showChatVariablePanel = useStore(s => s.showChatVariablePanel)
|
||||
const showGlobalVariablePanel = useStore(s => s.showGlobalVariablePanel)
|
||||
const showWorkflowVersionHistoryPanel = useStore(s => s.showWorkflowVersionHistoryPanel)
|
||||
const controlMode = useStore(s => s.controlMode)
|
||||
|
||||
return (
|
||||
|
|
@ -104,11 +102,6 @@ const WorkflowPanelOnRight = () => {
|
|||
<GlobalVariablePanel />
|
||||
)
|
||||
}
|
||||
{
|
||||
showWorkflowVersionHistoryPanel && (
|
||||
<VersionHistoryPanel/>
|
||||
)
|
||||
}
|
||||
{controlMode === 'comment' && <CommentsPanel />}
|
||||
</>
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in New Issue