Skip to content

Commit

Permalink
Only show Reaction Picker under proper conditions
Browse files Browse the repository at this point in the history
  • Loading branch information
caleb531 committed Jul 27, 2019
1 parent 0ce267a commit 94cc40d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/scripts/components/player-area.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ class PlayerAreaComponent {
view({ attrs: { game, session } }) {
return m('div#player-area', [
m(ScoreboardComponent, { game, session }),
m(ReactionPickerComponent, { game, session })
session.connected && game.players.length === 2 ? m(ReactionPickerComponent, { game, session }) : null
]);
}

Expand Down

0 comments on commit 94cc40d

Please sign in to comment.