Skip to content

Commit

Permalink
Show alias for contexts if it does not match the type
Browse files Browse the repository at this point in the history
  • Loading branch information
mitsuhiko committed Jun 30, 2016
1 parent 7704ade commit b73b7e6
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/sentry/static/sentry/app/components/events/contexts.jsx
Expand Up @@ -34,7 +34,13 @@ const ContextChunk = React.createClass({
title = toTitleCase(alias);
}
}
return title;

return (
<span>
{title + ' '}
{alias !== type ? <small>({alias})</small> : null}
</span>
);
},

render() {
Expand Down

0 comments on commit b73b7e6

Please sign in to comment.