mirror of https://github.com/bra1n/townsquare.git
making change pronoun option appear for story teller as well as seated player and updating flow control logic to allow story teller to change the pronouns for any player
This commit is contained in:
parent
f670193fba
commit
81af122458
|
@ -155,7 +155,10 @@
|
|||
</li>
|
||||
<li
|
||||
@click="changePronouns"
|
||||
v-if="session.isSpectator && player.id === session.playerId"
|
||||
v-if="
|
||||
!session.isSpectator ||
|
||||
(session.isSpectator && player.id === session.playerId)
|
||||
"
|
||||
>
|
||||
<font-awesome-icon icon="transgender" />Change Pronouns
|
||||
</li>
|
||||
|
@ -242,7 +245,7 @@ export default {
|
|||
},
|
||||
methods: {
|
||||
changePronouns() {
|
||||
if (!this.session.isSpectator || this.player.id !== this.session.playerId)
|
||||
if (this.session.isSpectator && this.player.id !== this.session.playerId)
|
||||
return;
|
||||
const pronouns = prompt(
|
||||
"Player preferred pronouns",
|
||||
|
|
Loading…
Reference in New Issue