API: Flight fields are an array when empty #618 (#619)

* Ensure 'fields' field is return as an object for flights #618
* Eager loading for flight fields
This commit is contained in:
Nabeel S
2020-03-04 18:14:03 -05:00
committed by GitHub
parent 174b602d7c
commit 9ed2e3f9f4
3 changed files with 19 additions and 4 deletions

View File

@@ -235,7 +235,7 @@
<div class="checkbox">
<label class="checkbox-inline">
{{ Form::label('active', 'Active:') }}
{{ Form::hidden('active', 0, false) }}
<input name="active" type="hidden" value="0" />
{{ Form::checkbox('active') }}
</label>
</div>