forked from Alex/Pterodactyl-Panel
Fix auto-deploy checkbox triggering error
This commit is contained in:
parent
da19749098
commit
4e916cbf08
@ -8,6 +8,7 @@ This project follows [Semantic Versioning](http://semver.org) guidelines.
|
||||
* `[pre.6]` — Addresses misconfigured console queue that was still sending data way to quickly thus causing the console to explode on some devices when large amounts of data were sent.
|
||||
* `[pre.6]` — Fixes bug in allocation parsing for a node that prevented adding new allocations.
|
||||
* `[pre.6]` — Fixes typo in migrations that wouldn't save custom regex for non-required variables.
|
||||
* `[pre.6]` — Fixes auto-deploy checkbox on server creation causing validation error.
|
||||
|
||||
## v0.6.0-pre.6 (Courageous Carniadactylus)
|
||||
### Fixed
|
||||
|
@ -96,7 +96,7 @@ class ServerRepository
|
||||
'pack_id' => 'sometimes|nullable|numeric|min:0',
|
||||
'custom_container' => 'string',
|
||||
'startup' => 'string',
|
||||
'auto_deploy' => 'sometimes|boolean',
|
||||
'auto_deploy' => 'sometimes|required|accepted',
|
||||
'custom_id' => 'sometimes|required|numeric|unique:servers,id',
|
||||
]);
|
||||
|
||||
|
@ -93,7 +93,7 @@
|
||||
</div>
|
||||
<div class="box-footer">
|
||||
<p class="text-muted small no-margin">
|
||||
<input type="checkbox" name="auto_deploy" id="pAutoDeploy" @if(old('auto_deploy'))checked="checked"@endif/>
|
||||
<input type="checkbox" name="auto_deploy" value="yes" id="pAutoDeploy" @if(old('auto_deploy'))checked="checked"@endif/>
|
||||
<label for="pAutoDeploy">Check this box if you want the panel to automatically select a node and allocation for this server in the given location.</label>
|
||||
</p>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user