class ManageChannels extends ManageRecords
{
protected static string $resource = ChannelResource::class;
protected function getHeaderActions(): array
{
return [
Actions\CreateAction::make(),
Actions\Action::make('refresh')
->action(function () {
Cache::delete('discord_service.getChannelList');
}),
];
}
}
class ManageChannels extends ManageRecords
{
protected static string $resource = ChannelResource::class;
protected function getHeaderActions(): array
{
return [
Actions\CreateAction::make(),
Actions\Action::make('refresh')
->action(function () {
Cache::delete('discord_service.getChannelList');
}),
];
}
}