chore: Adjust user resource navigation sort order and remove developer-only visibility for the trashed filter.
This commit is contained in:
parent
dbd235fcbe
commit
aa6bc55ee0
@ -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()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user