mirror of
https://github.com/romancm/gamebrary
synced 2024-11-27 21:50:24 +00:00
Only show settings in game board route
This commit is contained in:
parent
ac266f3730
commit
0bed1ffcb8
1 changed files with 3 additions and 3 deletions
|
@ -10,7 +10,7 @@
|
|||
{{ title }}
|
||||
</router-link>
|
||||
|
||||
<settings />
|
||||
<settings v-if="showSettings" />
|
||||
</nav>
|
||||
</template>
|
||||
|
||||
|
@ -30,8 +30,8 @@ export default {
|
|||
return this.user && this.user.email;
|
||||
},
|
||||
|
||||
hasSettings() {
|
||||
return this.settings && this.user;
|
||||
showSettings() {
|
||||
return this.$route.name === 'game-board';
|
||||
},
|
||||
|
||||
title() {
|
||||
|
|
Loading…
Reference in a new issue