@extends('tree.app')
@section('styles')
@endsection
@section('content')
@include('mwz::menu.tree.navbar')
@if (!empty($data))
@foreach ($data as $item)
@if (!empty($item->children) && $item->children->count())
-
{{ $item->name ?? '' }}
@include('mwz::menu.tree.children', ['param' => $item->children])
@else
-
{{ $item->name }}
@endif
@endforeach
@endif
@endsection
@section('scripts')
@endsection