Add cacheSchema shim for whitelist table
This commit is contained in:
@@ -26,9 +26,14 @@ use Livewire\Component;
|
|||||||
class WafWhitelistTable extends Component implements HasTable, HasSchemas, HasActions
|
class WafWhitelistTable extends Component implements HasTable, HasSchemas, HasActions
|
||||||
{
|
{
|
||||||
use InteractsWithTable;
|
use InteractsWithTable;
|
||||||
use InteractsWithSchemas;
|
use InteractsWithSchemas { cacheSchema as protected filamentCacheSchema; }
|
||||||
use InteractsWithActions;
|
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')]
|
#[On('waf-whitelist-updated')]
|
||||||
public function refreshWhitelist(): void
|
public function refreshWhitelist(): void
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user