mirror of
https://github.com/pelican-dev/panel.git
synced 2026-05-04 18:00:48 +03:00
When creating a new Server, try to use the last used Node instead #303
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 @lancepioch on GitHub (Apr 11, 2025).
When creating a new Server, the newest Node is always selected.
Let's try storing the last used Node in the session and default to the newest node if not available!
What is the last used Node? If you create/edit a Node, save that as the last used. If a new Server is created, store its Node as the last used. Etc.
d721af6be1/app/Filament/Admin/Resources/ServerResource/Pages/CreateServer.php (L112)@SirEndii commented on GitHub (Apr 11, 2025):
Neat little addition