Skip to content

Commit

Permalink
Fix info toggling in Room
Browse files Browse the repository at this point in the history
  • Loading branch information
paulgoetze committed Dec 10, 2021
1 parent 8b8258b commit abc4e33
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/views/Room.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<transition name="fade">
<InfoScreen
v-if="showInfoScreen"
v-if="infoScreenIsVisible"
:page="infoPage"
@close="closeInfoScreen"
@open-info-screen="openInfoScreen"
Expand Down Expand Up @@ -84,8 +84,8 @@ export default {
uiStateProps() {
return this.uiState[1]
},
showInfoScreen() {
return this.uiState[0] === Party && !!this.infoPage
infoScreenIsVisible() {
return !!this.infoPage
}
},
methods: {
Expand Down

0 comments on commit abc4e33

Please sign in to comment.