diff --git a/src/components/FiDataGrid.js b/src/components/FiDataGrid.js index f1a1f05..43d96b7 100644 --- a/src/components/FiDataGrid.js +++ b/src/components/FiDataGrid.js @@ -110,7 +110,7 @@ export function FiDataGrid({ rows, columns, sx, autoHeight, count={_rows.length} page={page} rowsPerPage={pageSize} - rowsPerPageOptions={[5, 10, 25, 50]} + rowsPerPageOptions={[10]} labelDisplayedRows={({ from, to, count }) => `${from}-${to} ${intl.formatMessage({ id: "of" })} ${count}` } diff --git a/src/pages/PublicNotice/ListPanel/BaseGrid.js b/src/pages/PublicNotice/ListPanel/BaseGrid.js index 7727eee..8b88df2 100644 --- a/src/pages/PublicNotice/ListPanel/BaseGrid.js +++ b/src/pages/PublicNotice/ListPanel/BaseGrid.js @@ -118,7 +118,7 @@ export default function BaseGrid({rows}) { } return ( -
+
{ url: GET_PUBLIC_NOTICE_LIST, params: searchCriteria, onSuccess: function(responseData){ - setRecord(responseData); + setRecord( + [ + responseData[0],responseData[0],responseData[0],responseData[0],responseData[0],responseData[0],responseData[0],responseData[0],responseData[0],responseData[0], + responseData[0],responseData[0],responseData[0],responseData[0],responseData[0],responseData[0],responseData[0],responseData[0],responseData[0],responseData[0] + ] + ); } }); } @@ -45,7 +50,7 @@ const UserSearchPage_Individual = () => { } return ( - + {/*row 1*/} { - +
+ +
diff --git a/src/pages/PublicNotice/ListPanel/SearchPublicNoticeTable.js b/src/pages/PublicNotice/ListPanel/SearchPublicNoticeTable.js index ce1c222..f29aa12 100644 --- a/src/pages/PublicNotice/ListPanel/SearchPublicNoticeTable.js +++ b/src/pages/PublicNotice/ListPanel/SearchPublicNoticeTable.js @@ -121,7 +121,7 @@ export default function SearchPublicNoticeTable({ recordList }) { } return ( -
+
{ { JSON.parse(localStorage.getItem('userData')).creditor ? ( - + - + @@ -166,7 +166,7 @@ const PublicNotice = () => { ) : ( - +