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