mirror of
https://github.com/csunny/DB-GPT.git
synced 2025-07-23 20:26:15 +00:00
chore: Remove unnecessary code in Flow component
This commit is contained in:
parent
161d04dcfa
commit
293fbb0f9b
@ -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);
|
||||
};
|
||||
@ -256,8 +255,10 @@ function Flow() {
|
||||
</div>
|
||||
</div>
|
||||
</Spin>
|
||||
|
||||
<Modal
|
||||
open={showModal}
|
||||
destroyOnClose
|
||||
title='Copy AWEL Flow'
|
||||
onCancel={() => {
|
||||
setShowModal(false);
|
||||
|
Loading…
Reference in New Issue
Block a user