Skip to content

Commit

Permalink
conditional comma
Browse files Browse the repository at this point in the history
  • Loading branch information
qualityshepherd committed Sep 17, 2024
1 parent 685af0d commit 7b93d6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/views/rando.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ const rando = {
<left>
<div class="npc">
<div class="name header">[${male}, ${female}, ${they}] ${sur}</div>
<div class="italic">${role}, ${epithet}, ${trait}, ${relationship}</div>
<div class="italic">${role}, ${epithet}, ${trait}${relationship ? `, ${relationship}` : '' }</div>
<div class="belief"><label>Belief</label> ${belief}</div>
<div>
Expand Down

0 comments on commit 7b93d6a

Please sign in to comment.