Fixed tag-manager loading on entity-creation
This commit is contained in:
parent
573c4e26d5
commit
181ae6d055
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@
|
|||
|
||||
<div component="sortable-list"
|
||||
option:sortable-list:handle-selector=".handle">
|
||||
@include('components.tag-manager-list', ['tags' => $entity->tags->all() ?? []])
|
||||
@include('components.tag-manager-list', ['tags' => $entity ? $entity->tags->all() : []])
|
||||
</div>
|
||||
|
||||
<button refs="add-remove-rows@add" type="button" class="text-button">{{ trans('entities.tags_add') }}</button>
|
||||
|
|
Loading…
Reference in a new issue