mirror of
https://github.com/sartography/spiffworkflow-frontend.git
synced 2025-02-24 12:18:17 +00:00
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…
x
Reference in New Issue
Block a user