Skip to content

Commit ff12f17

Browse files
committed
Fix undefined variable
1 parent 213f25c commit ff12f17

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/View/Components/Nav.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public function __construct()
2828
}
2929

3030
foreach (Filament::getPages() as $page) {
31-
if ($resource::authorizationManager()->can()) {
31+
if ($page::authorizationManager()->can()) {
3232
$this->items->push(...$page::navigationItems());
3333
}
3434
}

0 commit comments

Comments
 (0)