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: re-initialize the parameter editor state when switching between requests #7005

Merged

Conversation

gatzjames
Copy link
Contributor

The issue:

  • When switching between requests that have the same parameter names the one-line editor keeps the same state and doesn't update.

Fix:

  • Re-initialize the one-line editor state when the request changes.

Closes #7000

@gatzjames gatzjames requested a review from a team January 19, 2024 16:48
@gatzjames gatzjames self-assigned this Jan 19, 2024
@gatzjames gatzjames force-pushed the fix/parameter-editor-restore-per-request branch from d3e803d to dcbc581 Compare January 19, 2024 17:18
@gatzjames gatzjames force-pushed the fix/parameter-editor-restore-per-request branch from 443953d to 0056e0c Compare January 19, 2024 17:22
@gatzjames gatzjames enabled auto-merge (squash) January 19, 2024 17:22
@gatzjames gatzjames merged commit df0a791 into Kong:develop Jan 19, 2024
8 checks passed
@gatzjames gatzjames deleted the fix/parameter-editor-restore-per-request branch January 19, 2024 17:31
jackkav pushed a commit to jackkav/insomnia that referenced this pull request Mar 13, 2024
…requests (Kong#7005)

* re-initialize the one-line editor when the request changes

* fix lint?

* cleanup lint
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants