Commit 7d8b3476 authored by PDuarte's avatar PDuarte

datatable improve

parent 47e589b5
......@@ -14,7 +14,7 @@ import CustomHeader from './tableHeader'
// import CustomHeader from './tableHeader'
const DataTableServerSide = ({allData, total, getData, serverSideColumns, linkAddButton}) => {
const DataTableServerSide = ({cardTitle, allData, total, getData, serverSideColumns, linkAddButton}) => {
// ** Store Vars
const dispatch = useDispatch()
......@@ -130,7 +130,7 @@ const DataTableServerSide = ({allData, total, getData, serverSideColumns, linkAd
<Fragment>
<Card>
<CardHeader className='border-bottom'>
<CardTitle tag='h4'>Projects</CardTitle>
<CardTitle tag='h4'>{cardTitle}</CardTitle>
</CardHeader>
<DataTable
noHeader
......
......@@ -46,7 +46,7 @@ const CustomHeader = ({ linkAddButton, handlePerPage, rowsPerPage, handleFilter,
</div>
<Button.Ripple color='primary'>
<Link to={linkAddButton} className="btn-primary">
Add New Project
Add New
</Link>
</Button.Ripple>
</Col>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment