mirror of
https://github.com/Kovah/LinkAce.git
synced 2025-01-18 05:38:40 +01:00
Fix a small issue with category selects in link forms
This commit is contained in:
parent
cf2bc5b9f4
commit
49cb6e2b1f
@ -57,7 +57,7 @@
|
||||
class="{{ $errors->has('category_id') ? ' is-invalid' : '' }}">
|
||||
<option value="0">@lang('category.select_category')</option>
|
||||
@foreach($categories as $category)
|
||||
@if($category->childCategories)
|
||||
@if($category->childCategories->count() > 0)
|
||||
<optgroup label="{{ $category->name }}">
|
||||
<option value="{{ $category->id }}">
|
||||
{{ $category->name }}
|
||||
|
Loading…
x
Reference in New Issue
Block a user