mirror of https://github.com/bra1n/townsquare.git
Hiding additional traveller roles when selecting bluffs as travellers will not be used as bluffs anyway.
This commit is contained in:
parent
016d7feb39
commit
7ab4bcbc4d
|
@ -12,7 +12,7 @@
|
|||
}}
|
||||
</h3>
|
||||
<ul>
|
||||
<li class="button-group">
|
||||
<li class="button-group" v-if="isBluffs()">
|
||||
<span
|
||||
class="button"
|
||||
:class="{ active: tab === 'editionRoles' }"
|
||||
|
@ -106,6 +106,9 @@ export default {
|
|||
}
|
||||
this.$store.commit("toggleModal", "role");
|
||||
},
|
||||
isBluffs() {
|
||||
return this.playerIndex > 0;
|
||||
},
|
||||
...mapMutations(["toggleModal"])
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue