diff --git a/resources/views/admin/layouts/app.blade.php b/resources/views/admin/layouts/app.blade.php index ffbae8c..9ff80d8 100644 --- a/resources/views/admin/layouts/app.blade.php +++ b/resources/views/admin/layouts/app.blade.php @@ -86,7 +86,7 @@
  • {{ __('Posts') }}
  • {{ __('Pages') }}
  • - {{-- --}} +
  • {{ __('Media library') }}
  • diff --git a/src/Livewire/Frontend/Menu.php b/src/Livewire/Frontend/Menu.php index a4bd135..20bde83 100644 --- a/src/Livewire/Frontend/Menu.php +++ b/src/Livewire/Frontend/Menu.php @@ -11,7 +11,7 @@ class Menu extends Component { public $name; - public $menuitem; + public $menuitem = array(); public function mount($name = null) { diff --git a/src/Livewire/Menu.php b/src/Livewire/Menu.php index b492304..764f1db 100644 --- a/src/Livewire/Menu.php +++ b/src/Livewire/Menu.php @@ -11,7 +11,7 @@ class Menu extends Component { public $name; - public $menuitem; + public $menuitem = array(); public function mount($name = null) {