ITISFoundation / osparc-simcore

🐼 osparc-simcore simulation framework
https://osparc.io
MIT License
44 stars 26 forks source link

🎨 Re-fetch project state if it's ``closing`` #5800

Closed odeimaiz closed 2 months ago

odeimaiz commented 2 months ago

What do these changes do?

After :closeing a study, the frontend requests the /projects to populate the dashboard. Before receiving the response, the websocket might have notified the frontend that the study was closed, but the response of the previous request might say that it is still closing. Since there won't be any new websocket message updating the state of the closed study, the study card in dashboard will remain locked.

This PR workarounds that by asking one more time what the state of the project is if the latest state is closing

Refetch

Related issue/s

How to test

Dev-ops checklist

sonarcloud[bot] commented 2 months ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud