forked from 77media/video-flow
更新工作流组件,优化模式判断逻辑以支持更灵活的条件渲染。
This commit is contained in:
parent
89a3a0cc3a
commit
aa204e731e
@ -197,7 +197,7 @@ const WorkFlow = React.memo(function WorkFlow() {
|
|||||||
tooltip={isPauseWorkFlow ? "Play" : "Pause"}
|
tooltip={isPauseWorkFlow ? "Play" : "Pause"}
|
||||||
onClick={() => setIsPauseWorkFlow(!isPauseWorkFlow)}
|
onClick={() => setIsPauseWorkFlow(!isPauseWorkFlow)}
|
||||||
/>
|
/>
|
||||||
{ mode !== 'automatic' && (
|
{ !mode.includes('auto') && (
|
||||||
<GlassIconButton
|
<GlassIconButton
|
||||||
icon={ChevronLast}
|
icon={ChevronLast}
|
||||||
size='lg'
|
size='lg'
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user