trithuc-mvc-react 2.3.4 → 2.3.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.
|
@@ -9,7 +9,18 @@ import { styled, useTheme } from "@mui/material/styles";
|
|
|
9
9
|
import MoreMenu from "../MoreMenu";
|
|
10
10
|
import { useMemo } from "react";
|
|
11
11
|
|
|
12
|
-
export const TableRowRender = ({
|
|
12
|
+
export const TableRowRender = ({
|
|
13
|
+
index,
|
|
14
|
+
row,
|
|
15
|
+
page,
|
|
16
|
+
rowsPerPage,
|
|
17
|
+
selected,
|
|
18
|
+
onSelect,
|
|
19
|
+
onChangeStatus,
|
|
20
|
+
onDelete,
|
|
21
|
+
onEdit,
|
|
22
|
+
onView
|
|
23
|
+
}) => {
|
|
13
24
|
const { selectedField, columns, statusKey, disableStatus, tableActions, disableCellThaoTac, tableName, sttLuyKe } =
|
|
14
25
|
useDataTable();
|
|
15
26
|
const { canEdit, canDelete, canView, canAction } = usePermission(tableName);
|
|
@@ -208,7 +208,6 @@ function DataManagement({
|
|
|
208
208
|
{tabPanel}
|
|
209
209
|
<FilterGod filters={filters} elementSize={elementSize} />
|
|
210
210
|
{backParentNavigator}
|
|
211
|
-
{console.log(">>> tnduc", backParentNavigator)}
|
|
212
211
|
<DataTable multipleActions={multipleActions} />
|
|
213
212
|
</Card>
|
|
214
213
|
</FormProvider>
|