mirror of
https://github.com/pelican-dev/panel.git
synced 2025-05-29 13:14:45 +02:00
We are stars
This commit is contained in:
parent
cf44e46490
commit
bc72d6103c
@ -107,8 +107,8 @@ class UserResource extends Resource
|
|||||||
Tables\Columns\IconColumn::make('root_admin')
|
Tables\Columns\IconColumn::make('root_admin')
|
||||||
->label('Admin')
|
->label('Admin')
|
||||||
->boolean()
|
->boolean()
|
||||||
->trueIcon('tabler-adjustments-check')
|
->trueIcon('tabler-star')
|
||||||
->falseIcon('tabler-adjustments-cancel')
|
->falseIcon('tabler-star-off')
|
||||||
->sortable(),
|
->sortable(),
|
||||||
Tables\Columns\IconColumn::make('use_totp')->label('2FA')
|
Tables\Columns\IconColumn::make('use_totp')->label('2FA')
|
||||||
->icon(fn (User $user) => $user->use_totp ? 'tabler-lock' : 'tabler-lock-open-off')
|
->icon(fn (User $user) => $user->use_totp ? 'tabler-lock' : 'tabler-lock-open-off')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user