mirror of
				https://github.com/bra1n/townsquare.git
				synced 2025-10-21 16:55:12 +00:00 
			
		
		
		
	making reminders work with plus 1 bluffs
This commit is contained in:
		
							parent
							
								
									6ed2d1e109
								
							
						
					
					
						commit
						971f7182ef
					
				
					 2 changed files with 3 additions and 1 deletions
				
			
		|  | @ -88,6 +88,8 @@ export default { | |||
|       this.$store.state.otherRoles.forEach((role) => { | ||||
|         if (players.some((p) => p.role.id === role.id)) { | ||||
|           reminders = [...reminders, ...role.reminders.map(mapReminder(role))]; | ||||
|         } else if (bluffs.some((bluff) => bluff.id === role.id)) { | ||||
|           reminders = [...reminders, ...role.reminders.map(mapReminder(role))]; | ||||
|         } | ||||
|       }); | ||||
| 
 | ||||
|  |  | |||
|  | @ -88,7 +88,6 @@ export default { | |||
|       var filteredRoles = this.otherRoles.filter((role) => { | ||||
|         return role.name.toLowerCase().includes(this.filter.toLowerCase()); | ||||
|       }); | ||||
|       console.log(filteredRoles); | ||||
|       return filteredRoles; | ||||
|     }, | ||||
|     availableRoles() { | ||||
|  | @ -141,6 +140,7 @@ export default { | |||
|     }, | ||||
|     close() { | ||||
|       this.tab = "editionRoles"; | ||||
|       this.filter = ""; | ||||
|       this.toggleModal("role"); | ||||
|     }, | ||||
|     ...mapMutations(["toggleModal"]), | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue