This commit is contained in:
@@ -2,6 +2,7 @@ import { useState, type FC } from 'react'
|
||||
import { Link } from 'react-router-dom'
|
||||
import { useGetUsers } from './hooks/useUserData'
|
||||
import Table from '@/components/Table'
|
||||
import PresignedImage from '@/components/PresignedImage'
|
||||
import moment from 'moment-jalaali'
|
||||
import Button from '@/components/Button'
|
||||
import { AddSquare, Edit } from 'iconsax-react'
|
||||
@@ -27,6 +28,13 @@ const UsersList: FC = () => {
|
||||
|
||||
<Table
|
||||
columns={[
|
||||
{
|
||||
key: 'avatarUrl',
|
||||
title: 'آواتار',
|
||||
render: (item) => item.avatarUrl
|
||||
? <PresignedImage src={item.avatarUrl} className='w-10 h-10 rounded-full object-cover' alt='' />
|
||||
: '-',
|
||||
},
|
||||
{
|
||||
key: 'fullName',
|
||||
title: 'نام و نام خانوادگی',
|
||||
|
||||
Reference in New Issue
Block a user