From eabb90bd7187769756bd373d3e2a418855a9417d Mon Sep 17 00:00:00 2001 From: Helge Sverre Date: Fri, 26 Sep 2025 07:47:01 +0200 Subject: [PATCH] fix: Use navigation.group configuration in MailResource MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The MailResource was hardcoded to use '__('Emails')' as the navigation group, ignoring the 'filament-mails.navigation.group' configuration option. This change updates the getNavigationGroup() method to read from the config with a fallback to the previous default value, allowing users to customize the navigation group as intended. Fixes #58 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- src/Resources/MailResource.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Resources/MailResource.php b/src/Resources/MailResource.php index 9758124..a50707f 100644 --- a/src/Resources/MailResource.php +++ b/src/Resources/MailResource.php @@ -58,7 +58,7 @@ public static function getModel(): string public static function getNavigationGroup(): ?string { - return __('Emails'); + return config('filament-mails.navigation.group', __('Emails')); } public static function getNavigationLabel(): string