mirror of
https://github.com/pelican-dev/panel.git
synced 2026-05-04 18:00:48 +03:00
Reload on Settings save #211
Reference in New Issue
Block a user
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 @Leon-JavaScript on GitHub (Dec 6, 2024).
Current Behavior
When clicking on the "Save" button in the admin settings tab, the browser asks you if you want to leave the page and changes don't get saved. I guess this doesn't make much sense, because in other parts (e.g. clicking on "Save" in eggs), this doesn't appear.

Browser: Google Chrome
Expected Behavior
The settings should just be saved and the prompt should not be there.
Steps to Reproduce
Panel Version
Tested on 1.0.0-beta14 and canary (
b50acfd)Wings Version
1.0.0-beta7
Games and/or Eggs Affected
No response
Docker Image
No response
Error Logs
No response
Is there an existing issue for this?
@rmartinoscar commented on GitHub (Dec 6, 2024):
Hey this is a well known behavior we are searching for a solution.
The problem is that when you hit save on egg it stores the result in database but when you save on the settings page those are stored in .env and as the panel depends on it you need to refresh the page on change.