Skip to content

Commit

Permalink
Merge pull request #2456 from HSLdevcom/DT-2721
Browse files Browse the repository at this point in the history
Check that address isn't null or string "null" in ticket sales popup
  • Loading branch information
pailakka authored Aug 21, 2018
2 parents 2655d48 + 781c6a2 commit 58f3961
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/component/CardHeader.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,9 @@ const CardHeader = ({
</span>
<div className="card-sub-header">
{code != null ? <p className="card-code">{code}</p> : null}
<p className="sub-header-h4">{description}</p>
{description != null && description !== 'null' ? (
<p className="sub-header-h4">{description}</p>
) : null}
</div>
</div>
{icons ? <SplitBars>{icons}</SplitBars> : null}
Expand Down

0 comments on commit 58f3961

Please sign in to comment.