Describe the bug
When clicking on "Discover BPMN" or "Compute conformance" buttons, a request is sent to the backend even if there's no file uploaded.
To Reproduce
Two possible ways:
click on the buttons without uploading files
click on "Compute conformance" without discovering a BPMN
Expected behavior
For "discover BPMN" button: check if the file is uploaded. If not, show a popup message asking the user to upload an event log
For "Compute conformance": Two checks must be performed:
A BPMN has been already discovered
A event log is uploaded in the "conformance checking" part.
In both cases, show a popup message to explain to the the user.
Describe the bug When clicking on "Discover BPMN" or "Compute conformance" buttons, a request is sent to the backend even if there's no file uploaded.
To Reproduce Two possible ways:
Expected behavior For "discover BPMN" button: check if the file is uploaded. If not, show a popup message asking the user to upload an event log For "Compute conformance": Two checks must be performed:
In both cases, show a popup message to explain to the the user.