Skip to content

Commit

Permalink
Fixing the display for job sql and a casing issues. (MarquezProject#1421
Browse files Browse the repository at this point in the history
)

Signed-off-by: Peter Hicks <[email protected]>

Co-authored-by: Peter Hicks <[email protected]>
  • Loading branch information
phixMe and Peter Hicks authored Jun 17, 2021
1 parent 2f8d91d commit 9e65020
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions web/src/components/JobDetailPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -111,11 +111,10 @@ const JobDetailPage: FunctionComponent<IProps> = props => {
latestRun,
location,
namespace,
context = { SQL: '' }
context = { sql: '' }
} = job as IJob

const latestRuns = job ? job.latestRuns || [] : []
const { SQL } = context

return (
<Box
Expand Down Expand Up @@ -157,7 +156,7 @@ const JobDetailPage: FunctionComponent<IProps> = props => {
<MqText subdued>{description}</MqText>
</Box>
</Box>
<Code>{SQL}</Code>
<Code code={context.sql} />
<Box display={'flex'} justifyContent={'flex-end'} alignItems={'center'} mt={1}>
<div className={classes.latestRunContainer}>
{latestRuns.map(r => {
Expand Down

0 comments on commit 9e65020

Please sign in to comment.