Renamed some owner fields to follow CIECA standard. Work on Owner Select modal.
This commit is contained in:
@@ -1,10 +1,26 @@
|
||||
import React from 'react'
|
||||
import JobsAvailablePageComponent from './jobs-available.page.component'
|
||||
import React from "react";
|
||||
import { useMutation, useLazyQuery } from "react-apollo";
|
||||
import {
|
||||
DELETE_AVAILABLE_JOB,
|
||||
QUERY_AVAILABLE_NEW_JOBS_EST_DATA_BY_PK
|
||||
} from "../../graphql/available-jobs.queries";
|
||||
import JobsAvailablePageComponent from "./jobs-available.page.component";
|
||||
|
||||
export default function JobsAvailablePageContainer() {
|
||||
return (
|
||||
<div>
|
||||
<JobsAvailablePageComponent />
|
||||
</div>
|
||||
)
|
||||
const [deleteJob] = useMutation(DELETE_AVAILABLE_JOB);
|
||||
|
||||
const estDataLazyLoad = useLazyQuery(
|
||||
QUERY_AVAILABLE_NEW_JOBS_EST_DATA_BY_PK,
|
||||
{
|
||||
fetchPolicy: "network-only"
|
||||
}
|
||||
);
|
||||
return (
|
||||
<div>
|
||||
<JobsAvailablePageComponent
|
||||
deleteJob={deleteJob}
|
||||
estDataLazyLoad={estDataLazyLoad}
|
||||
/>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user