Skip to content

Commit

Permalink
fix: Hide news panel if no message of the day
Browse files Browse the repository at this point in the history
  • Loading branch information
keeler authored and ZeldaZach committed Jun 4, 2022
1 parent 246785e commit b3273f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/lobby/Lobby.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export default class Lobby extends Component {
<Header/>
<GamesPanel roomInfo={roomInfo}/>
<FileUpload />
<NewsPanel motd={STRINGS.PAGE_SECTIONS.MOTD}/>
{STRINGS.PAGE_SECTIONS.MOTD && <NewsPanel motd={STRINGS.PAGE_SECTIONS.MOTD}/>}
{STRINGS.BRANDING.PAYPAL}
{STRINGS.PAGE_SECTIONS.FOOTER}
<Version version={serverVersion} MTGJSONVersion={mtgJsonVersion} boosterRulesVersion={boosterRulesVersion}/>
Expand Down

0 comments on commit b3273f9

Please sign in to comment.