Skip to content

Commit

Permalink
Merge branch 'master' of github.com:tomatophp/filament-types
Browse files Browse the repository at this point in the history
  • Loading branch information
3x1io committed Nov 18, 2024
2 parents 5dc4f0e + 773ab13 commit a3901ff
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion src/Filament/Resources/TypeResource.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ class TypeResource extends Resource

protected static ?string $navigationIcon = 'heroicon-o-tag';


public static function getTranslatableLocales(): array
{
return filament('filament-types')->getLocals();
Expand Down
2 changes: 1 addition & 1 deletion src/FilamentTypesPlugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public function getId(): string

public function register(Panel $panel): void
{
if(!$panel->hasPlugin('spatie-laravel-translatable')) {
if (! $panel->hasPlugin('spatie-laravel-translatable')) {
$panel->plugin(
SpatieLaravelTranslatablePlugin::make()
->defaultLocales($this->getLocals()),
Expand Down

0 comments on commit a3901ff

Please sign in to comment.