|
|
@ -17,7 +17,7 @@ const Table: FunctionComponent<Props> = ({ tasks }) => {
|
|
|
|
() => [
|
|
|
|
() => [
|
|
|
|
{
|
|
|
|
{
|
|
|
|
header: "Name",
|
|
|
|
header: "Name",
|
|
|
|
accessor: "name",
|
|
|
|
accessorKey: "name",
|
|
|
|
cell: ({
|
|
|
|
cell: ({
|
|
|
|
row: {
|
|
|
|
row: {
|
|
|
|
original: { name },
|
|
|
|
original: { name },
|
|
|
@ -28,7 +28,7 @@ const Table: FunctionComponent<Props> = ({ tasks }) => {
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
header: "Interval",
|
|
|
|
header: "Interval",
|
|
|
|
accessor: "interval",
|
|
|
|
accessorKey: "interval",
|
|
|
|
cell: ({
|
|
|
|
cell: ({
|
|
|
|
row: {
|
|
|
|
row: {
|
|
|
|
original: { interval },
|
|
|
|
original: { interval },
|
|
|
@ -39,11 +39,11 @@ const Table: FunctionComponent<Props> = ({ tasks }) => {
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
header: "Next Execution",
|
|
|
|
header: "Next Execution",
|
|
|
|
accessor: "next_run_in",
|
|
|
|
accessorKey: "next_run_in",
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
header: "Run",
|
|
|
|
header: "Run",
|
|
|
|
accessor: "job_running",
|
|
|
|
accessorKey: "job_running",
|
|
|
|
cell: ({
|
|
|
|
cell: ({
|
|
|
|
row: {
|
|
|
|
row: {
|
|
|
|
original: { job_id: jobId, job_running: jobRunning },
|
|
|
|
original: { job_id: jobId, job_running: jobRunning },
|
|
|
|