Skip to content

Commit

Permalink
[client] Hides invite link on welcome view
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryan Prior committed Nov 20, 2021
1 parent 9e472dd commit 96d8501
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion client/source/Top.mint
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,9 @@ component Top {
View::Room(place) => place.room.name
}
</span>
<span::invite><a href="#" onClick={handleInvite}>"invite players"</a></span>
if(Application.view != View::Welcome) {
<span::invite><a href="#" onClick={handleInvite}>"invite players"</a></span>
}
<Floaty show={Maybe.isJust(currentInvite)}
onClose={() { next {currentInvite = Maybe::Nothing} }}>
<input::invite-link as inviteInput
Expand Down

0 comments on commit 96d8501

Please sign in to comment.