update section
This commit is contained in:
@@ -3,7 +3,7 @@ import { useGetSections } from './hooks/usePrintData'
|
||||
import { Link } from 'react-router-dom'
|
||||
import { Paths } from '@/config/Paths'
|
||||
import Button from '@/components/Button'
|
||||
import { AddSquare, More2 } from 'iconsax-react'
|
||||
import { AddSquare, Edit, More2 } from 'iconsax-react'
|
||||
import Table from '@/components/Table'
|
||||
|
||||
const SectionList: FC = () => {
|
||||
@@ -52,6 +52,24 @@ const SectionList: FC = () => {
|
||||
)
|
||||
}
|
||||
},
|
||||
{
|
||||
key: 'actions',
|
||||
title: '',
|
||||
render: (item) => {
|
||||
return (
|
||||
<div className='flex gap-2 items-center'>
|
||||
<Link to={Paths.print.update + item.id}>
|
||||
<Edit size={20} color='#0037FF' />
|
||||
</Link>
|
||||
{/* <TrashWithConfrim
|
||||
onDelete={() => handleDelete(item.id)}
|
||||
isloading={isDeleting}
|
||||
colorIcon='red'
|
||||
/> */}
|
||||
</div>
|
||||
)
|
||||
}
|
||||
},
|
||||
]}
|
||||
/>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user