Added tab control for job detail page. No attached user story.

This commit is contained in:
Patrick Fic
2020-03-10 15:50:30 -07:00
parent 39e3b5fb6f
commit 7567f4952f
4 changed files with 27 additions and 24 deletions

View File

@@ -13,7 +13,7 @@ import {
import JobsDetailPage from "./jobs-detail.page.component";
function JobsDetailPageContainer({ match }) {
const { jobId } = match.params;
const { jobId, tab } = match.params;
const { t } = useTranslation();
const scheduleModalState = useState(false);
@@ -62,6 +62,7 @@ function JobsDetailPageContainer({ match }) {
refetch={refetch}
scheduleModalState={scheduleModalState}
updateJobStatus={updateJobStatus}
tab={tab}
/>
) : (
<AlertComponent message={t("jobs.errors.noaccess")} type="error" />