Files
frontend/src/components/dashboard/inquiryPrivacy/general-manager/RowActions/index.jsx
2025-11-26 15:06:53 +03:30

23 lines
692 B
JavaScript

import { Box } from "@mui/material";
import ConfirmAction from "./ConfirmAction";
import RejectAction from "./RejectAction";
import History from "./History";
const RowActions = ({ row, mutate }) => {
// const stateId = row.original.state_id;
//
// const disabled = {
// referral: stateId !== 2,
// reject: stateId !== 2 && stateId !== 5,
// confirm: stateId !== 2 && stateId !== 5 && stateId !== 13,
// };
return (
<Box sx={{ display: "flex", gap: 1, justifyContent: "Center" }}>
<RejectAction />
<ConfirmAction />
<History rowId={row.original.id} />
</Box>
);
};
export default RowActions;