mirror of
https://github.com/pelican-dev/panel.git
synced 2025-05-29 16:44:44 +02:00
Fix creating new node
This commit is contained in:
parent
264d3498a6
commit
8eb2c23420
@ -329,7 +329,6 @@ class CreateNode extends CreateRecord
|
|||||||
true => 'primary',
|
true => 'primary',
|
||||||
false => 'warning',
|
false => 'warning',
|
||||||
])
|
])
|
||||||
->default(0)
|
|
||||||
->columnSpan(2),
|
->columnSpan(2),
|
||||||
Forms\Components\TextInput::make('cpu')
|
Forms\Components\TextInput::make('cpu')
|
||||||
->dehydratedWhenHidden()
|
->dehydratedWhenHidden()
|
||||||
@ -338,6 +337,7 @@ class CreateNode extends CreateRecord
|
|||||||
->suffix('%')
|
->suffix('%')
|
||||||
->columnSpan(2)
|
->columnSpan(2)
|
||||||
->numeric()
|
->numeric()
|
||||||
|
->default(0)
|
||||||
->minValue(0),
|
->minValue(0),
|
||||||
Forms\Components\TextInput::make('cpu_overallocate')
|
Forms\Components\TextInput::make('cpu_overallocate')
|
||||||
->dehydratedWhenHidden()
|
->dehydratedWhenHidden()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user