Skip to content

Commit

Permalink
Fix minor nit in render of build log link component
Browse files Browse the repository at this point in the history
  • Loading branch information
benjaminapetersen committed Jun 19, 2018
1 parent bd1e6a6 commit 8d6100d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/public/components/build-pipeline.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@ const BuildSummaryStatusIcon: React.SFC<BuildSummaryStatusIconProps> = ({ status

const BuildLogLink: React.SFC<BuildLogLinkProps> = ({ obj }) => {
const link = getJenkinsLogURL(obj);
return link ? <div className="build-pipeline__link">
return link && <div className="build-pipeline__link">
<a href={link} className="build-pipeline__log-link" target="_blank" rel="noopener noreferrer">View Log</a>
</div> : null;
</div>;
};

const StagesNotStarted: React.SFC = () => <div className="build-pipeline__stage build-pipeline__stage--none">
Expand Down

0 comments on commit 8d6100d

Please sign in to comment.