(NodeJS, SPA) Server Action being triggered twice (routing issue?)

Since you are using NodeJS templates, I would suggest using server-side rendering. Some documentation is here: https://docs.wappler.io/t/sever-side-rendering-with-nodejs/21650.

The Wappler UI currently only has limited support for server-side rendering, it allows you to insert server bindings in text content, title and meta tags. It is not yet possible to insert it on attributes of components.

You can edit it in code view if you are up to it, for the templates in NodeJS EJS is used (https://ejs.co/).

An other option is to remove the :lecture_id from the path and pass it as querystring parameter, you then don’t have the url but the view will not reload when the querystring changes and it will only update the serverconnect component on the page.