Skip to content

Commit

Permalink
match filament-translation-component config
Browse files Browse the repository at this point in the history
  • Loading branch information
3x1io committed Sep 16, 2024
1 parent 14a94a3 commit 333284b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/FilamentTranslationsServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

namespace TomatoPHP\FilamentTranslations;

use Illuminate\Support\Facades\Config;
use Illuminate\Support\ServiceProvider;
use Filament\Facades\Filament;
use TomatoPHP\FilamentTranslations\Console\ImportCommand;
Expand Down Expand Up @@ -54,6 +55,6 @@ public function register(): void

public function boot(): void
{
//you boot methods here
Config::set('filament-translation-component.languages', Config::get('filament-translations.locals'));
}
}

0 comments on commit 333284b

Please sign in to comment.