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>
|
||||||
<li
|
<li
|
||||||
@click="changePronouns"
|
@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
|
<font-awesome-icon icon="transgender" />Change Pronouns
|
||||||
</li>
|
</li>
|
||||||
|
@ -242,7 +245,7 @@ export default {
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
changePronouns() {
|
changePronouns() {
|
||||||
if (!this.session.isSpectator || this.player.id !== this.session.playerId)
|
if (this.session.isSpectator && this.player.id !== this.session.playerId)
|
||||||
return;
|
return;
|
||||||
const pronouns = prompt(
|
const pronouns = prompt(
|
||||||
"Player preferred pronouns",
|
"Player preferred pronouns",
|
||||||
|
|
Loading…
Reference in New Issue