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(common): ensure the add-environment modal value field is empty when opened via the inspector #3664

Conversation

jamesgeorge007
Copy link
Member

@jamesgeorge007 jamesgeorge007 commented Dec 18, 2023

Description

When opened via the inspector, the add environment modal showed the value associated with the previous attempt to set an environment via the context menu. This PR aims to fix this behavior by removing the truthy check before assigning environment values at the parent environments component, thereby permitting empty strings.

Screen.Recording.2023-12-18.at.2.07.57.PM.mov

Closes HFE-347.

Checks

  • My pull request adheres to the code style of this project
  • All the tests have passed

@AndrewBastin AndrewBastin merged commit 5179cf5 into hoppscotch:release/2023.12.0 Dec 18, 2023
1 check passed
@jamesgeorge007 jamesgeorge007 deleted the hotfix/inspector-add-env-flow branch December 18, 2023 16:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants