forked from Alex/Pterodactyl-Panel
Fix 'Copy Script From' setting
This commit is contained in:
parent
c3a69fce75
commit
410a0cca9a
@ -9,7 +9,7 @@ This project follows [Semantic Versioning](http://semver.org) guidelines.
|
||||
* `[beta.3]` — Fixes an edge case caused by the Laravel 5.5 upgrade that would try to perform an in_array check aganist a null value.
|
||||
* `[beta.3]` — Fixes a bug that would cause an error when attempting to create a new user on the Panel.
|
||||
* `[beta.3]` — Fixes error handling of the settings service provider when no migrations have been run.
|
||||
|
||||
* `[beta.3]` — Fixes validation error when trying to use 'None' as the 'Copy Script From' option for an egg script.
|
||||
### Added
|
||||
* Nest and Egg listings now show the associated ID in order to make API requests easier.
|
||||
|
||||
|
@ -53,7 +53,7 @@
|
||||
<div class="form-group col-sm-4">
|
||||
<label class="control-label">Copy Script From</label>
|
||||
<select id="pCopyScriptFrom" name="copy_script_from">
|
||||
<option value="0">None</option>
|
||||
<option value="">None</option>
|
||||
@foreach($copyFromOptions as $opt)
|
||||
<option value="{{ $opt->id }}" {{ $egg->copy_script_from !== $opt->id ?: 'selected' }}>{{ $opt->name }}</option>
|
||||
@endforeach
|
||||
|
Loading…
Reference in New Issue
Block a user