IO-1283 IO-1371 Updates to add to scoreboard button.

This commit is contained in:
Patrick Fic
2021-09-28 11:45:12 -07:00
parent 97f1be9d6f
commit aa410d6847
2 changed files with 115 additions and 53 deletions

View File

@@ -51,3 +51,14 @@ export const UPDATE_SCOREBOARD_ENTRY = gql`
}
}
`;
export const QUERY_SCOREBOARD_ENTRY = gql`
query QUERY_SCOREBOARD_ENTRY($jobid: uuid!) {
scoreboard(where: { jobid: { _eq: $jobid } }) {
bodyhrs
date
id
painthrs
}
}
`;