refactor: Remove sortable from the 'Peran' column in UserResource.
This commit is contained in:
parent
29595e86bb
commit
4e8ac2750f
@ -140,7 +140,6 @@ public static function table(Table $table): Table
|
|||||||
TextColumn::make('roles.name')
|
TextColumn::make('roles.name')
|
||||||
->label('Peran')
|
->label('Peran')
|
||||||
->searchable()
|
->searchable()
|
||||||
->sortable()
|
|
||||||
->badge()
|
->badge()
|
||||||
->getStateUsing(fn (User $record): array => $record->roles->pluck('name', 'id')->toArray()),
|
->getStateUsing(fn (User $record): array => $record->roles->pluck('name', 'id')->toArray()),
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user