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