diff --git a/src/Pages/FilaChat.php b/src/Pages/FilaChat.php index c894ab2..5762331 100644 --- a/src/Pages/FilaChat.php +++ b/src/Pages/FilaChat.php @@ -20,6 +20,11 @@ public static function getSlug(): string return config('filachat.slug') . '/{id?}'; } + public static function shouldRegisterNavigation(): bool + { + return config('filachat.show_in_menu', true); + } + public static function getNavigationLabel(): string { return __(config('filachat.navigation_label'));