bezhanSalleh / filament-language-switch

A versatile and user-friendly plugin designed for Filament Panels.
MIT License
210 stars 45 forks source link

The switch breaks when I open the profile page #81

Closed free-storage closed 5 months ago

free-storage commented 6 months ago

The switch breaks when I open the profile page

page url: http://localhost/app/profile

image image image

There are no other plugins. Clean installation.

free-storage commented 6 months ago

Help!

free-storage commented 6 months ago

Solved a problem.

If $panel->profile(isSimple: false) then you need to exclude this page from

$switch
->visible(outsidePanels: true)
->outsidePanelRoutes([
  'auth.login',
  'auth.register',
  'auth.password-reset',
])
free-storage commented 6 months ago

@bezhanSalleh Fix this problem. What's the problem with outside. The switch is superimposed on the profile.

bezhanSalleh commented 5 months ago

@bezhanSalleh Fix this problem. What's the problem with outside. The switch is superimposed on the profile.

Sure, i will get right to it.