chore: Adjust user resource navigation sort order and remove developer-only visibility for the trashed filter.

This commit is contained in:
Yoga Pangestu 2026-02-09 09:44:30 +07:00
parent dbd235fcbe
commit aa6bc55ee0

View File

@ -38,7 +38,7 @@ class UserResource extends Resource
protected static ?string $navigationLabel = 'Pengguna';
protected static ?int $navigationSort = 8;
protected static ?int $navigationSort = 1;
protected static ?string $recordTitleAttribute = 'name';
@ -122,8 +122,7 @@ public static function table(Table $table): Table
])
->filters([
TrashedFilter::make()
->native(false)
->visible(fn () => auth()->user()?->hasRole(RoleEnum::DEVELOPER->value)),
->native(false),
])
->recordActions([
EditAction::make()