Skip to content

Commit

Permalink
fix sort from config is ignored
Browse files Browse the repository at this point in the history
  • Loading branch information
JeromeSiau authored Dec 29, 2023
1 parent d2f1c49 commit 55d4895
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Filament/Resources/EmailResource.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public static function getNavigationGroup(): ?string

public static function getNavigationSort(): ?int
{
return Config::set('filament-email.resource.sort') ?? parent::getNavigationSort();
return Config::get('filament-email.resource.sort') ?? parent::getNavigationSort();
}

public static function form(Form $form): Form
Expand Down

0 comments on commit 55d4895

Please sign in to comment.