diff --git a/app/Livewire/Admin/WafWhitelistTable.php b/app/Livewire/Admin/WafWhitelistTable.php index 8f191a3..75019c9 100644 --- a/app/Livewire/Admin/WafWhitelistTable.php +++ b/app/Livewire/Admin/WafWhitelistTable.php @@ -26,9 +26,14 @@ use Livewire\Component; class WafWhitelistTable extends Component implements HasTable, HasSchemas, HasActions { use InteractsWithTable; - use InteractsWithSchemas; + use InteractsWithSchemas { cacheSchema as protected filamentCacheSchema; } use InteractsWithActions; + protected function cacheSchema(string $name, \Filament\Schemas\Schema|\Closure|null $schema = null): ?\Filament\Schemas\Schema + { + return $this->filamentCacheSchema($name, $schema); + } + #[On('waf-whitelist-updated')] public function refreshWhitelist(): void {