Skip to content

Commit 3e464a8

Browse files
committed
fix flow button control
1 parent b776c21 commit 3e464a8

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

admin-ui/src/components/Flow/flow/FlowButtons.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@ const FlowButtons: React.FC<FlowButtonsProps> = (props) => {
2121
return null;
2222
}
2323

24+
if(flowData.hasData() && !flowData.canHandle()){
25+
return null;
26+
}
27+
2428
const buttons = flowData.getNodeButtons();
2529

2630
return (

0 commit comments

Comments
 (0)