File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
src/Components/ExternalResult Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -61,6 +61,7 @@ export default function ResultList() {
61
61
wardList : [ ] ,
62
62
} ) ;
63
63
let manageResults : any = null ;
64
+ let pagination : any = null ;
64
65
const local = JSON . parse ( localStorage . getItem ( "external-filters" ) || "{}" ) ;
65
66
const localLsgWard = JSON . parse (
66
67
localStorage . getItem ( "lsg-ward-data" ) ||
@@ -332,11 +333,11 @@ export default function ResultList() {
332
333
</ tr >
333
334
) ;
334
335
} else if ( data && data . length ) {
335
- manageResults = (
336
+ manageResults = < > { resultList } </ > ;
337
+ pagination = (
336
338
< >
337
- { resultList }
338
339
{ totalCount > RESULT_LIMIT && (
339
- < div className = "mt-4 flex w-full justify-center" >
340
+ < div className = "mt-4 w-full flex justify-center items -center" >
340
341
< Pagination
341
342
cPage = { qParams . page }
342
343
defaultPerPage = { RESULT_LIMIT }
@@ -517,6 +518,7 @@ export default function ResultList() {
517
518
{ manageResults }
518
519
</ tbody >
519
520
</ table >
521
+ < div className = "bg-white divide-y divide-gray-200" > { pagination } </ div >
520
522
</ div >
521
523
< CSVLink
522
524
data = { downloadFile }
You can’t perform that action at this time.
0 commit comments