trithuc-mvc-react 3.2.4 → 3.2.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -244,6 +244,8 @@ const DataTable = ({ multipleActions = [], page, setPage = () => {}, disableEdit
244
244
  const newRowsPerPage = parseInt(event.target.value, 10); // Chuyển đổi giá trị thành số nguyên
245
245
  // Lưu giá trị mới vào localStorage với khóa tùy chỉnh theo tableName
246
246
  localStorage.setItem(`${tableName}rowsPerPage`, newRowsPerPage);
247
+ localStorage.setItem(`BoxThongKe${tableName}_RowsPerPage`, newRowsPerPage);
248
+ localStorage.setItem(`${tableName}_RowsPerPage`, newRowsPerPage);
247
249
  setRowsPerPage(newRowsPerPage);
248
250
  setPage(0);
249
251
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "trithuc-mvc-react",
3
- "version": "3.2.4",
3
+ "version": "3.2.5",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"