Fixed a race condition in the frontend that prevented share link creation requests from being sent to the backend. Instead of communicating with the server, the share links were incorrectly added to the frontend list, and a new menu to create another link appeared.
This fix ensures the correct sequence of actions, allowing share links to be properly created and synchronized with the backend.
Checklist
[ ] Tests (unit, integration, api and/or acceptance) are included
[ ] Screenshots before/after for front-end changes
Fixed a race condition in the frontend that prevented share link creation requests from being sent to the backend. Instead of communicating with the server, the share links were incorrectly added to the frontend list, and a new menu to create another link appeared.
This fix ensures the correct sequence of actions, allowing share links to be properly created and synchronized with the backend.
Checklist