@foreach ($nodes as $node)
@if ($node['thumbnail']) @else @endif
{{ $node['name'] }}
@if ($node['children_count'])
{{ $node['children_count'] }}
@endif
@if ($node['children_count']) @endif {{ __('adminhub::catalogue.collections.groups.node.edit') }} @if ($node['parent_id']) {{ __('adminhub::catalogue.collections.groups.node.make_root') }} @endif {{ __('adminhub::catalogue.collections.groups.node.move') }} {{ __('adminhub::catalogue.collections.groups.node.add_child') }} {{ __('adminhub::catalogue.collections.groups.node.delete') }}
@if (count($node['children']))
@livewire( 'hub.components.collections.collection-tree', [ 'nodes' => $node['children'], 'sortGroup' => 'children_' . $node['id'], 'owner' => $owner, ], key('tree-' . $node['id']), )
@endif
@endforeach