Hasnayeen / themes

Themes for Filament panels.
MIT License
217 stars 30 forks source link

[proposal] check if the plugin enabled for the current panel #5

Closed atmonshi closed 1 year ago

atmonshi commented 1 year ago

If I conventionally disabled the plugin without removing the Middleware, it will throw the exception

Plugin [themes] is not registered for panel [admin].

This will check if the plugin is enabled in the current panel before initializing the middleware

Hasnayeen commented 1 year ago

Nice, thank you.