Skip to content
New issue

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

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

Already on GitHub? # to your account

[resources] Fix reload of resources #243

Merged
merged 1 commit into from
Dec 22, 2021
Merged

Conversation

ricoberger
Copy link
Member

This fixes that resources were not reloaded when a user clicks on the
search button, without changing the selected clusters, namespaces or
resources. This bug was caused, because we forgot to add the time
parameters, which are returned within the search function, to the url.
So that the update of the options was not triggered via our "useEffect"
hook.

The same problem was also present in the applications plugin, which is
also fixed with this commit.

This fixes that resources were not reloaded when a user clicks on the
search button, without changing the selected clusters, namespaces or
resources. This bug was caused, because we forgot to add the time
parameters, which are returned within the search function, to the url.
So that the update of the options was not triggered via our "useEffect"
hook.

The same problem was also present in the applications plugin, which is
also fixed with this commit.
@ricoberger ricoberger merged commit dbde6c8 into main Dec 22, 2021
@ricoberger ricoberger deleted the resources-fix-reload branch December 22, 2021 23:17
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant