add missed files, add logger

This commit is contained in:
Alex Holliday committed 2024-10-09 11:10:29 +08:00
1 parent 335098e2a8
commit 7c5c821fdd
4 files changed
+66 -8

No files matched your search

@@ -108,11 +108,12 @@ const MaintenanceTable = ({
setSort,
maintenanceWindows,
maintenanceWindowCount,
updateCallback,
}) => {
const { rowsPerPage } = useSelector((state) => state.ui.maintenance);
const theme = useTheme();
const dispatch = useDispatch();
const handleChangePage = (event, newPage) => {
setPage(newPage);
};
@@ -264,7 +265,10 @@ const MaintenanceTable = ({
: formatDurationRounded(maintenanceWindow.repeat)}
</TableCell>
<TableCell>
<ActionsMenu maintenanceWindow={maintenanceWindow} />
<ActionsMenu
maintenanceWindow={maintenanceWindow}
updateCallback={updateCallback}
/>
</TableCell>
</TableRow>
);
@@ -352,6 +356,7 @@ MaintenanceTable.propTypes = {
setSort: PropTypes.func,
maintenanceWindows: PropTypes.array,
maintenanceWindowCount: PropTypes.number,
updateCallback: PropTypes.func,
};
const MemoizedMaintenanceTable = memo(MaintenanceTable);