mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-25 08:45:58 +03:00
[PR #2873] [MERGED] fix: cannot write to body when a request is loaded from history #4116
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#4116
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?
📋 Pull Request Information
Original PR: https://github.com/hoppscotch/hoppscotch/pull/2873
Author: @amk-dev
Created: 12/9/2022
Status: ✅ Merged
Merged: 12/9/2022
Merged by: @liyasthomas
Base:
staging← Head:fix/cannot-write-to-body📝 Commits (2)
3093e2cfix: cannot write body when a request is loaded from history88a1afefix: importtoRaw()from vue📊 Changes
1 file changed (+2 additions, -2 deletions)
View changed files
📝
packages/hoppscotch-common/src/components/history/index.vue(+2 -2)📄 Description
Before
After Loading a request from user's hoppscotch history, changes to the request body where not taking effect. this is happening, because we are calling
setRequestwith a computed property, which is readonly.After
We pass the computed property as a normal object to
setRequestwhich fixes the issue.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.