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

Fix hide inactive environments #63

Merged
merged 2 commits into from
Sep 19, 2023
Merged

Conversation

meniRoy
Copy link
Contributor

@meniRoy meniRoy commented Sep 18, 2023

Problem:
In the current implementation, all environments are retrieved from the server, and then the inactive environments are filtered out based on their status. However, there have been situations where environments that failed to be destroyed were still visible to the user, even though they were inactive.

Solution:
Simply passed the isActive: true parameter to the "get environments" request, as we do in the frontend.

@meniRoy
Copy link
Contributor Author

meniRoy commented Sep 18, 2023

Copy link
Collaborator

@liranfarage89 liranfarage89 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@meniRoy meniRoy merged commit 5b2eda3 into main Sep 19, 2023
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants