Skip to content

Commit

Permalink
Fix undefined variable
Browse files Browse the repository at this point in the history
  • Loading branch information
danharrin committed Mar 3, 2021
1 parent 213f25c commit ff12f17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/View/Components/Nav.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public function __construct()
}

foreach (Filament::getPages() as $page) {
if ($resource::authorizationManager()->can()) {
if ($page::authorizationManager()->can()) {
$this->items->push(...$page::navigationItems());
}
}
Expand Down

0 comments on commit ff12f17

Please sign in to comment.