mirror of
https://github.com/pelican-dev/panel.git
synced 2025-05-29 16:44:44 +02:00
Auto select latest node
This commit is contained in:
parent
27f05b5f95
commit
da1bf320dd
@ -51,6 +51,7 @@ class ServerResource extends Resource
|
||||
->required(),
|
||||
|
||||
Forms\Components\Select::make('node_id')
|
||||
->default(fn () => Node::query()->latest()->first()->id)
|
||||
->columnSpan(2)
|
||||
->live()
|
||||
->relationship('node', 'name')
|
||||
|
Loading…
x
Reference in New Issue
Block a user