Skip to content

Commit

Permalink
change the check for motpLink to v-else-if, so we only get there if t…
Browse files Browse the repository at this point in the history
…here is no eventLink property
  • Loading branch information
colodzin committed Dec 10, 2018
1 parent 1804827 commit 6b793be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ <h3>{{activeGroup.name}}</h3>
<div v-if="activeGroup.eventLink" class="event-link">
<a :href="activeGroup.eventLink" target="_blank">Find out more</a>
</div>
<div v-if="activeGroup.motpLink" class="event-link">
<div v-else-if="activeGroup.motpLink" class="event-link">
<a :href="activeGroup.motpLink" target="_blank">Find out more</a>
</div>
<div v-if="activeGroup.host" class="hosted-by">
Expand Down

0 comments on commit 6b793be

Please sign in to comment.