更新工作流组件,优化模式判断逻辑以支持更灵活的条件渲染。

This commit is contained in:
北枳 2025-08-17 17:35:34 +08:00
parent 89a3a0cc3a
commit aa204e731e

View File

@ -197,7 +197,7 @@ const WorkFlow = React.memo(function WorkFlow() {
tooltip={isPauseWorkFlow ? "Play" : "Pause"}
onClick={() => setIsPauseWorkFlow(!isPauseWorkFlow)}
/>
{ mode !== 'automatic' && (
{ !mode.includes('auto') && (
<GlassIconButton
icon={ChevronLast}
size='lg'