mirror of
				https://github.com/bra1n/townsquare.git
				synced 2025-10-21 16:55:12 +00:00 
			
		
		
		
	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
					
				
					 1 changed files with 5 additions and 2 deletions
				
			
		| 
						 | 
					@ -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…
	
	Add table
		
		Reference in a new issue