Skip to content

Commit

Permalink
Pretty print the raw JSON alternate views (jaegertracing#203)
Browse files Browse the repository at this point in the history
Signed-off-by: Joe Farro <[email protected]>
Signed-off-by: vvvprabhakar <[email protected]>
  • Loading branch information
tiffon authored Apr 4, 2018
1 parent 20e8cdd commit 748ef0d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/TracePage/TracePageHeader.js
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ export default function TracePageHeader(props: TracePageHeaderProps) {
<Menu>
<Menu.Item>
<Link
to={prefixUrl(`/api/traces/${traceID}`)}
to={prefixUrl(`/api/traces/${traceID}?prettyPrint=true`)}
rel="noopener noreferrer"
target="_blank"
onClick={trackAltViewOpen}
Expand All @@ -121,7 +121,7 @@ export default function TracePageHeader(props: TracePageHeaderProps) {
</Menu.Item>
<Menu.Item>
<Link
to={prefixUrl(`/api/traces/${traceID}?raw=true`)}
to={prefixUrl(`/api/traces/${traceID}?raw=true&prettyPrint=true`)}
rel="noopener noreferrer"
target="_blank"
onClick={trackAltViewOpen}
Expand Down

0 comments on commit 748ef0d

Please sign in to comment.