Skip to content

Commit

Permalink
chore: Remove unnecessary code in Flow component
Browse files Browse the repository at this point in the history
  • Loading branch information
谨欣 committed Aug 30, 2024
1 parent 161d04d commit 293fbb0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion web/pages/construct/flow/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,6 @@ function Flow() {
copyFlowTemp.current = flow;
form.setFieldValue('label', `${flow.label} Copy`);
form.setFieldValue('name', `${flow.name}_copy`);
setDeploy(true);
setEditable(true);
setShowModal(true);
};
Expand Down Expand Up @@ -256,8 +255,10 @@ function Flow() {
</div>
</div>
</Spin>

<Modal
open={showModal}
destroyOnClose
title='Copy AWEL Flow'
onCancel={() => {
setShowModal(false);
Expand Down

0 comments on commit 293fbb0

Please sign in to comment.