Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/4.x' into 4.x
Browse files Browse the repository at this point in the history
  • Loading branch information
Jehizkia committed Nov 15, 2023
2 parents 9354c67 + 448e52f commit d2d175a
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 d2d175a

Please sign in to comment.