Skip to content

Commit

Permalink
Merge pull request #27 from kenepa/small-fix
Browse files Browse the repository at this point in the history
Small fix
  • Loading branch information
Jehizkia authored Nov 13, 2023
2 parents 3314835 + 8267a51 commit 448e52f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Traits/CanRegisterPanelNavigation.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ public static function shouldRegisterOnPanel(): bool
}

foreach (config('translation-manager.dont_register_navigation_on_panel_ids') as $panelName) {
if (Filament::getPanel()->getId()) {
if (Filament::getPanel()->getId() === $panelName) {
return false;
}
}
Expand Down

0 comments on commit 448e52f

Please sign in to comment.