mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-26 09:16:03 +03:00
[GH-ISSUE #2363] [bug]: EnvInput causes restSession to be rendered twice #806
Labels
No labels
CodeDay
a11y
browser limited
bug
bug fix
cli
core
critical
design
desktop
discussion
docker
documentation
duplicate
enterprise
feature
feature
fosshack
future
good first issue
hacktoberfest
help wanted
i18n
invalid
major
minor
need information
need testing
not applicable to hoppscotch
not reproducible
pull-request
question
refactor
resolved
sandbox
self-host
spam
stale
testmu
wip
wont fix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/hoppscotch#806
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @insub on GitHub (May 24, 2022).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/2363
Is there an existing issue for this?
Current behavior
when select another request, the code below will cause the restSession to be rendered twice:
../components/smart/EnvInput.vue
will trigger /newstore/RESTSession.ts -> setRESTEndpoint function then restRession will render again.
PS: is the endpoint of the previous request was not "https://echo.hoppscotch.io"
Steps to reproduce
Environment
Release
Version
Local
@AndrewBastin commented on GitHub (May 24, 2022):
Are there any usage concerns (like a bug or a glitchy behavior) that may arise from this issue ?
@insub commented on GitHub (May 24, 2022):
@AndrewBastin no, but it can be perceived in the user experience,slight delay