Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Main page reloaded multiple times #178

Open
Palollo opened this issue Jun 4, 2024 · 0 comments
Open

Main page reloaded multiple times #178

Palollo opened this issue Jun 4, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@Palollo
Copy link
Member

Palollo commented Jun 4, 2024

When the main page is refreshed in the browser, the list of datasets is reloaded three times!

The first time as an unauthenticated user, so only the public datasets are shown.
The second time the auth-token is requested previously to the auth-service and then the normal request to the backend with the auth-token is sent to get all the datasets.
And finally both requests to the auth-service (for the token) and to the backend are repeated exactly the same one time more.

The problem with the third time can be due to the same reason as in the issue #177 .
The first time is not needed.

@Palollo Palollo added the bug Something isn't working label Jun 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant