Skip to content

Commit

Permalink
Merge pull request #41 from IBEC-BOX/fix/navigation-groups-and-items
Browse files Browse the repository at this point in the history
fix: add default empty array from config getting
  • Loading branch information
ast21 authored Oct 22, 2024
2 parents 1f5bb12 + 844af5f commit 72a496d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Providers/FilamentPanelProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ public function panel(Panel $panel): Panel
->path(config('admin-kit.panel.path'))
->login()
->colors(config('admin-kit.panel.colors'))
->navigationGroups(config('admin-kit.panel.navigation_groups'))
->navigationItems(config('admin-kit.panel.navigation_items'))
->navigationGroups(config('admin-kit.panel.navigation_groups', []))
->navigationItems(config('admin-kit.panel.navigation_items', []))
->resources(config('admin-kit.panel.resources'))
->pages(config('admin-kit.panel.pages'))
->widgets(config('admin-kit.panel.widgets'))
Expand Down

0 comments on commit 72a496d

Please sign in to comment.