Skip to content

Commit

Permalink
Fix Creating Eggs
Browse files Browse the repository at this point in the history
  • Loading branch information
notAreYouScared committed May 12, 2024
1 parent 259599b commit af18a37
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion app/Filament/Resources/EggResource/Pages/CreateEgg.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public function form(Form $form): Form
Required for certain games to work properly when the Node has multiple public IP addresses.
Enabling this option will disable internal networking for any servers using this egg, causing them to be unable to internally access other servers on the same node."),
Forms\Components\Hidden::make('script_is_privileged')
->helperText('The docker images available to servers using this egg.'),
->default(1),
Forms\Components\TagsInput::make('tags')
->placeholder('Add Tags')
->helperText('')
Expand Down
1 change: 1 addition & 0 deletions app/Filament/Resources/EggResource/Pages/EditEgg.php
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ public function form(Form $form): Form
->reorderable()
->collapsible()->collapsed()
->orderColumn()
->addActionLabel('New Variable')
->itemLabel(fn (array $state) => $state['name'])
->mutateRelationshipDataBeforeCreateUsing(function (array $data): array {
$data['default_value'] ??= '';
Expand Down

0 comments on commit af18a37

Please sign in to comment.