Skip to content

Commit 24d5d50

Browse files
HelgeSverreclaude
andauthored
fix: use navigation.group configuration in MailResource (#59)
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 <noreply@anthropic.com>
1 parent 7c7fd4c commit 24d5d50

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Resources/MailResource.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ public static function getModel(): string
5858

5959
public static function getNavigationGroup(): ?string
6060
{
61-
return __('Emails');
61+
return config('filament-mails.navigation.group', __('Emails'));
6262
}
6363

6464
public static function getNavigationLabel(): string

0 commit comments

Comments
 (0)