null out newFileName after save a new bpmn diagram so it uses file from params instead
This commit is contained in:
parent
f50f63b626
commit
841bf8c1bd
|
@ -85,6 +85,10 @@ export default function ProcessModelEditDiagram() {
|
|||
httpMethod,
|
||||
postBody: formData,
|
||||
});
|
||||
|
||||
// after saving the file, make sure we null out newFileName
|
||||
// so it does not get used over the params
|
||||
setNewFileName('');
|
||||
};
|
||||
|
||||
const handleFileNameSave = (event: any) => {
|
||||
|
|
Loading…
Reference in New Issue