We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5dc4f0e + 773ab13 commit a3901ffCopy full SHA for a3901ff
src/Filament/Resources/TypeResource.php
@@ -18,7 +18,6 @@ class TypeResource extends Resource
18
19
protected static ?string $navigationIcon = 'heroicon-o-tag';
20
21
-
22
public static function getTranslatableLocales(): array
23
{
24
return filament('filament-types')->getLocals();
src/FilamentTypesPlugin.php
@@ -50,7 +50,7 @@ public function getId(): string
50
51
public function register(Panel $panel): void
52
53
- if(!$panel->hasPlugin('spatie-laravel-translatable')) {
+ if (! $panel->hasPlugin('spatie-laravel-translatable')) {
54
$panel->plugin(
55
SpatieLaravelTranslatablePlugin::make()
56
->defaultLocales($this->getLocals()),
0 commit comments