mirror of
https://github.com/jakobkordez/ham-reserve.git
synced 2025-05-30 15:40:28 +00:00
Change admin icon to static
This commit is contained in:
parent
21c63f0333
commit
3eaf7105a2
@ -60,21 +60,25 @@ export function UsersList() {
|
||||
<div className="text-sm opacity-80">Phone: {user.phone}</div>
|
||||
</td>
|
||||
<td>
|
||||
<button
|
||||
{/* <button
|
||||
className={`btn btn-circle btn-warning btn-outline h-14 w-14 border-0 ${
|
||||
user.roles.includes(Role.Admin)
|
||||
? '!text-warning'
|
||||
: '!text-gray-500'
|
||||
}`}
|
||||
disabled={user._id === me?._id}
|
||||
>
|
||||
<FontAwesomeIcon
|
||||
icon={faCrown}
|
||||
height={20}
|
||||
width={20}
|
||||
className="h-5 w-5 leading-none"
|
||||
/>
|
||||
</button>
|
||||
> */}
|
||||
<FontAwesomeIcon
|
||||
icon={faCrown}
|
||||
height={20}
|
||||
width={20}
|
||||
className={`h-5 w-5 leading-none ${
|
||||
user.roles.includes(Role.Admin)
|
||||
? 'text-amber-500'
|
||||
: 'text-gray-400'
|
||||
}`}
|
||||
/>
|
||||
{/* </button> */}
|
||||
</td>
|
||||
<td>
|
||||
<button
|
||||
|
Loading…
x
Reference in New Issue
Block a user