mirror of
https://github.com/jaypyles/Scraperr.git
synced 2026-08-25 22:06:36 +00:00
This commit is contained in:
@@ -8,6 +8,8 @@ import {
|
||||
TableCell,
|
||||
TableBody,
|
||||
Button,
|
||||
Box,
|
||||
Typography,
|
||||
} from "@mui/material";
|
||||
import Cookies from "js-cookie";
|
||||
|
||||
@@ -51,6 +53,16 @@ export const CronJobs = ({
|
||||
}
|
||||
};
|
||||
|
||||
if (!user) {
|
||||
return (
|
||||
<Box>
|
||||
<Typography variant="h6">
|
||||
Please login to view your cron jobs
|
||||
</Typography>
|
||||
</Box>
|
||||
);
|
||||
}
|
||||
|
||||
return (
|
||||
<div>
|
||||
<CreateCronJobs availableJobs={jobs} user={user} />
|
||||
|
||||
Reference in New Issue
Block a user