mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-24 03:57:22 +08:00
torrent operation log type add edit&delete
This commit is contained in:
+27
@@ -0,0 +1,27 @@
|
||||
<?php
|
||||
|
||||
namespace App\Filament\Resources\Torrent\TorrentOperationLogResource\Pages;
|
||||
|
||||
use App\Filament\PageListSingle;
|
||||
use App\Filament\Resources\Torrent\TorrentOperationLogResource;
|
||||
use App\Models\TorrentOperationLog;
|
||||
use Filament\Pages\Actions;
|
||||
use Filament\Resources\Pages\ManageRecords;
|
||||
use Illuminate\Database\Eloquent\Builder;
|
||||
|
||||
class ManageTorrentOperationLogs extends PageListSingle
|
||||
{
|
||||
protected static string $resource = TorrentOperationLogResource::class;
|
||||
|
||||
protected function getActions(): array
|
||||
{
|
||||
return [
|
||||
// Actions\CreateAction::make(),
|
||||
];
|
||||
}
|
||||
|
||||
protected function getTableQuery(): Builder
|
||||
{
|
||||
return TorrentOperationLog::query()->with(['torrent', 'user']);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user