trithuc-mvc-react 3.2.5 → 3.2.6

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.
@@ -254,6 +254,8 @@ const DataTableSM = ({ multipleActions = [], page, setPage = () => {}, disableEd
254
254
  const newRowsPerPage = parseInt(event.target.value, 10); // Chuyển đổi giá trị thành số nguyên
255
255
  // Lưu giá trị mới vào localStorage với khóa tùy chỉnh theo tableName
256
256
  localStorage.setItem(`${tableName}rowsPerPage`, newRowsPerPage);
257
+ localStorage.setItem(`BoxThongKe${tableName}_RowsPerPage`, newRowsPerPage);
258
+ localStorage.setItem(`${tableName}_RowsPerPage`, newRowsPerPage);
257
259
  setRowsPerPage(newRowsPerPage);
258
260
  setPage(0);
259
261
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "trithuc-mvc-react",
3
- "version": "3.2.5",
3
+ "version": "3.2.6",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"