mirror of
https://github.com/csunny/DB-GPT.git
synced 2025-07-29 14:57:35 +00:00
feat: update deploy state in SaveFlowModal component (#1934)
This commit is contained in:
commit
161d04dcfa
@ -27,7 +27,7 @@ export const SaveFlowModal: React.FC<Props> = ({
|
|||||||
const [form] = Form.useForm<IFlowUpdateParam>();
|
const [form] = Form.useForm<IFlowUpdateParam>();
|
||||||
const [messageApi, contextHolder] = message.useMessage();
|
const [messageApi, contextHolder] = message.useMessage();
|
||||||
|
|
||||||
const [deploy, setDeploy] = useState(true);
|
const [deploy, setDeploy] = useState(false);
|
||||||
const [id, setId] = useState(router.query.id || '');
|
const [id, setId] = useState(router.query.id || '');
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
|
Loading…
Reference in New Issue
Block a user