cms-multi / filament-clear-cache

Easily clear your Laravel cache from within Filament admin
MIT License
43 stars 5 forks source link

after install i cant see the clear button #29

Closed agaitan026 closed 2 weeks ago

agaitan026 commented 1 month ago

i followed docs but cant see clear cache button

use CmsMulti\FilamentClearCache\FilamentClearCachePlugin;

            ->plugin(
                \TomatoPHP\FilamentLogger\FilamentLoggerPlugin::make()
                ,FilamentClearCachePlugin::make())

what im missing?

howdu commented 1 month ago

That's correct. Have you made any changes to the config?

If the hook is working correctly it will be rendering the livewire component.

Try to debug this file by removing the visible checks and see if that's the issue.

Screenshot 2024-09-26 at 15 36 39
davideprevosto commented 3 weeks ago

@agaitan026

I suppose you should fix from:

->plugin(
                \TomatoPHP\FilamentLogger\FilamentLoggerPlugin::make()
                ,FilamentClearCachePlugin::make())

to

->plugins([
                \TomatoPHP\FilamentLogger\FilamentLoggerPlugin::make(),
                FilamentClearCachePlugin::make()
                ])