Skip to content

Commit

Permalink
Update EmailResource.php
Browse files Browse the repository at this point in the history
  • Loading branch information
sitenzo authored Dec 15, 2023
1 parent 89b12f7 commit 1b97d05
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Filament/Resources/EmailResource.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,12 @@ class EmailResource extends Resource

public static function getNavigationLabel(): string
{
return Config::get('filament-email.label') ?? __('Email log');
return __('email-log.label') == null ? 'Email log' : __('email-log.label');
}

public static function getNavigationGroup(): ?string
{
return Config::get('filament-email.resource.group' ?? parent::getNavigationGroup());
return __('email-log.group') == null ? null : __('email-log.group');
}

public static function getNavigationSort(): ?int
Expand Down

0 comments on commit 1b97d05

Please sign in to comment.