Correctly save labels on create

This commit is contained in:
notCharles 2024-06-01 15:52:13 -04:00
parent eefe59b153
commit c31b7b8c6a
2 changed files with 2 additions and 1 deletions

View File

@ -687,7 +687,7 @@ class CreateServer extends CreateRecord
->label('Container Labels') ->label('Container Labels')
->keyLabel('Title') ->keyLabel('Title')
->valueLabel('Description') ->valueLabel('Description')
->columnSpan(1), ->columnSpan(3),
]), ]),
]), ]),
]); ]);

View File

@ -154,6 +154,7 @@ class ServerCreationService
'database_limit' => Arr::get($data, 'database_limit') ?? 0, 'database_limit' => Arr::get($data, 'database_limit') ?? 0,
'allocation_limit' => Arr::get($data, 'allocation_limit') ?? 0, 'allocation_limit' => Arr::get($data, 'allocation_limit') ?? 0,
'backup_limit' => Arr::get($data, 'backup_limit') ?? 0, 'backup_limit' => Arr::get($data, 'backup_limit') ?? 0,
'docker_labels' => Arr::get($data, 'docker_labels'),
]); ]);
} }