Skip to content
This repository has been archived by the owner on Oct 4, 2021. It is now read-only.

Commit

Permalink
Fix conditional renderings; opentargets/issues#564
Browse files Browse the repository at this point in the history
  • Loading branch information
LucaFumis committed Jun 26, 2019
1 parent 6bbb755 commit 3522c17
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/src/components/drug-summary/drug-summary.html
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<div ng-show="noDrug">
<div ng-if="noDrug">
<h2>No drug found with name or id {{drug}}</h2>
</div>

<div ng-show="displayName">
<div ng-if="displayName">
<view-title>{{displayName}}</view-title>
<meta-description-content>Browse information about {{displayName}} ({{drug}}) covering related targets, diseases, literature text mining and adverse events.</meta-description-content>

Expand Down

0 comments on commit 3522c17

Please sign in to comment.