Skip to content

Commit

Permalink
fix: comment FilamentLanguageSwitchPlugin
Browse files Browse the repository at this point in the history
  • Loading branch information
NursultanIITU committed Sep 18, 2023
1 parent 9750a4c commit ce4fa24
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions config/admin-kit.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

use AdminKit\Core\UI\Filament\Resources\UserResource;
use BezhanSalleh\FilamentLanguageSwitch\FilamentLanguageSwitchPlugin;
//use BezhanSalleh\FilamentLanguageSwitch\FilamentLanguageSwitchPlugin;
use BezhanSalleh\FilamentShield\Resources\RoleResource;
use Filament\Http\Middleware\Authenticate;
use Filament\Http\Middleware\DisableBladeIconComponents;
Expand Down Expand Up @@ -62,7 +62,7 @@
Filament\Widgets\FilamentInfoWidget::class,
],
'plugins' => [
FilamentLanguageSwitchPlugin::make(),
// FilamentLanguageSwitchPlugin::make(),
],

'middleware' => [
Expand Down
16 changes: 8 additions & 8 deletions src/Providers/FilamentServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,17 @@

use Filament\Panel;
use Filament\PanelProvider;
use Livewire\LivewireServiceProvider;
//use Livewire\LivewireServiceProvider;

class FilamentServiceProvider extends PanelProvider
{
public function register(): void
{
// нужно чтобы плагины содержащие Livewire корректно сели
$this->app->registerDeferredProvider(LivewireServiceProvider::class);

parent::register();
}
// public function register(): void
// {
// // нужно чтобы плагины содержащие Livewire корректно сели
// $this->app->registerDeferredProvider(LivewireServiceProvider::class);
//
// parent::register();
// }

public function panel(Panel $panel): Panel
{
Expand Down

0 comments on commit ce4fa24

Please sign in to comment.