From eab9aca3d4cece1721bbcbd2bc6472bab23bde0e Mon Sep 17 00:00:00 2001 From: Patrick Fic <> Date: Thu, 21 Apr 2022 11:51:47 -0700 Subject: [PATCH] IO-1840 Add to scoreboard from production detail view. --- .../production-list-detail.component.jsx | 4 +++- client/src/graphql/jobs.queries.js | 5 +++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/client/src/components/production-list-detail/production-list-detail.component.jsx b/client/src/components/production-list-detail/production-list-detail.component.jsx index ac0ae9dc8..e5495b181 100644 --- a/client/src/components/production-list-detail/production-list-detail.component.jsx +++ b/client/src/components/production-list-detail/production-list-detail.component.jsx @@ -21,6 +21,7 @@ import OwnerNameDisplay from "../owner-name-display/owner-name-display.component import { connect } from "react-redux"; import { createStructuredSelector } from "reselect"; import { setModalContext } from "../../redux/modals/modals.actions"; +import ScoreboardAddButton from "../job-scoreboard-add-button/job-scoreboard-add-button.component"; const mapStateToProps = createStructuredSelector({ //currentUser: selectCurrentUser @@ -59,7 +60,7 @@ export function ProductionListDetail({ jobs, setPrintCenterContext }) { + {" "} + } /> diff --git a/client/src/graphql/jobs.queries.js b/client/src/graphql/jobs.queries.js index 5d4db071f..db2357a71 100644 --- a/client/src/graphql/jobs.queries.js +++ b/client/src/graphql/jobs.queries.js @@ -845,6 +845,11 @@ export const QUERY_JOB_CARD_DETAILS = gql` count status } + joblines { + id + mod_lbr_ty + mod_lb_hrs + } owner { id allow_text_message