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

Environment selector not showing for more than 2 valid environments #23

Closed
fabiangeisler opened this issue Aug 26, 2022 · 1 comment · Fixed by #24
Closed

Environment selector not showing for more than 2 valid environments #23

fabiangeisler opened this issue Aug 26, 2022 · 1 comment · Fixed by #24
Assignees
Labels
bug Something isn't working

Comments

@fabiangeisler
Copy link
Contributor

If you have more than 2 valid environments for the software that you want to launch, the environment selector will not show up.

Solution

Probably a simple replacement of "==" for ">=" here:

tk-cpenv/app.py

Lines 284 to 287 in b0b7d57

if len(environments) == 2:
env = self.show_environment_selector(environments)
else:
env = environments[0]

@danbradham
Copy link
Contributor

danbradham commented Aug 26, 2022 via email

@danbradham danbradham self-assigned this Sep 3, 2022
@danbradham danbradham added the bug Something isn't working label Sep 3, 2022
@danbradham danbradham linked a pull request Sep 3, 2022 that will close this issue
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

Successfully merging a pull request may close this issue.

2 participants