update filamentphp basic

This commit is contained in:
xiaomlove
2024-12-25 23:09:07 +08:00
parent 183d362076
commit f146a654c2
154 changed files with 848 additions and 673 deletions
@@ -8,9 +8,9 @@ use App\Models\Setting;
use App\Models\Torrent;
use App\Models\TorrentState;
use Filament\Forms;
use Filament\Resources\Form;
use Filament\Forms\Form;
use Filament\Resources\Resource;
use Filament\Resources\Table;
use Filament\Tables\Table;
use Filament\Tables;
use Illuminate\Database\Eloquent\Builder;
use Illuminate\Database\Eloquent\SoftDeletingScope;
@@ -20,13 +20,13 @@ class TorrentStateResource extends Resource
{
protected static ?string $model = TorrentState::class;
protected static ?string $navigationIcon = 'heroicon-o-speakerphone';
protected static ?string $navigationIcon = 'heroicon-o-megaphone';
protected static ?string $navigationGroup = 'System';
protected static ?int $navigationSort = 99;
protected static function getNavigationLabel(): string
public static function getNavigationLabel(): string
{
return __('admin.sidebar.torrent_state');
}