trithuc-mvc-react 3.2.6 → 3.2.7

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.
@@ -291,7 +291,7 @@ const DataTable = ({ multipleActions = [], page, setPage = () => {}, disableEdit
291
291
  return (
292
292
  <>
293
293
  <Grid container>
294
- {!hasTabpanel && (
294
+ {total > 0 && (
295
295
  <Grid alignSelf={"center"} sx={{ pl: 2 }}>
296
296
  <Typography variant="body1">
297
297
  Tổng số lượng: <span>{total}</span>
@@ -301,7 +301,7 @@ const DataTableSM = ({ multipleActions = [], page, setPage = () => {}, disableEd
301
301
  return (
302
302
  <>
303
303
  <Grid container>
304
- {!hasTabpanel && (
304
+ {total > 0 && (
305
305
  <Grid alignSelf={"center"} sx={{ pl: 2 }}>
306
306
  <Typography variant="body1">
307
307
  Tổng số lượng: <span>{total}</span>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "trithuc-mvc-react",
3
- "version": "3.2.6",
3
+ "version": "3.2.7",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"