mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-25 16:55:59 +03:00
[PR #4081] [MERGED] fix(sh-admin): saving changes to server configurations post a failed attempt will require a page reload in dashboard #4658
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#4658
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/4081
Author: @joeljstephen
Created: 5/22/2024
Status: ✅ Merged
Merged: 6/3/2024
Merged by: @nivedin
Base:
patch← Head:fix/dashboard-server-restart📝 Commits (3)
1dc151dfix: resolved an issue with server restart component787656drefactor: early return if any mutation fails when initiating server restart88918fcfix: ensure further attempts go through after a failed reset configs action📊 Changes
4 files changed (+29 additions, -14 deletions)
View changed files
📝
packages/hoppscotch-sh-admin/src/components.d.ts(+0 -6)📝
packages/hoppscotch-sh-admin/src/components/settings/Reset.vue(+5 -1)📝
packages/hoppscotch-sh-admin/src/components/settings/ServerRestart.vue(+23 -7)📝
packages/hoppscotch-sh-admin/src/pages/settings.vue(+1 -0)📄 Description
Ticket
Closes HFE-515
Description
This PR addresses an issue on the admin dashboard where, when an attempt is made to change server configurations and a mutation error has occurred, after the relevant error toast is displayed, any subsequent attempts to save additional changes to configs fail to trigger the server restart and confirmation modals. This prevents users from making further changes unless they reload the page. This issue is resolved in this PR.
Checks
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.