Browse Source
			
			
			Small formatting changes from code-review
			
				Co-authored-by: deef <deef551@gmail.com>
			
			
				pull/815/head
			
			
		 
		
			
				
					
						 Jasper Miller-Waugh
					
					4 years ago
						Jasper Miller-Waugh
					
					4 years ago
					
						
							committed by
							
								 GitHub
								GitHub
							
						 
					
				 
				
			 
		 
		
			
				
					
					No known key found for this signature in database
					
						
							GPG Key ID: 4AEE18F83AFDEB23
						
					
				
			
		
		
		
	
		
			
				 1 changed files with 
4 additions and 
2 deletions
			 
			
		 
		
			
				- 
					
					
					 
					src/pages/StatusPage.vue
				
				
				
					
						
							
								
									
	
		
		
			
				
					|  | @ -493,10 +493,12 @@ export default { | 
			
		
	
		
		
			
				
					|  |  |             // Which means if we enable tags, it won't show in the UI until saved |  |  |             // Which means if we enable tags, it won't show in the UI until saved | 
			
		
	
		
		
			
				
					|  |  |             // So we have this to enhance UX and load in the tags from the authenticated source instantly |  |  |             // So we have this to enhance UX and load in the tags from the authenticated source instantly | 
			
		
	
		
		
			
				
					|  |  |             this.$root.publicGroupList = this.$root.publicGroupList.map((group)=>{ |  |  |             this.$root.publicGroupList = this.$root.publicGroupList.map((group)=>{ | 
			
		
	
		
		
			
				
					
					|  |  |                 return {...group, |  |  |                 return { | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					|  |  |  |  |  |                     ...group, | 
			
		
	
		
		
			
				
					|  |  |                     monitorList: group.monitorList.map((monitor)=> { |  |  |                     monitorList: group.monitorList.map((monitor)=> { | 
			
		
	
		
		
			
				
					|  |  |                         // We only include the tags if visible so we can reuse the logic to hide the tags on disable |  |  |                         // We only include the tags if visible so we can reuse the logic to hide the tags on disable | 
			
		
	
		
		
			
				
					
					|  |  |                         return {...monitor, |  |  |                         return { | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					|  |  |  |  |  |                             ...monitor, | 
			
		
	
		
		
			
				
					|  |  |                             tags: newState==="visible" ? this.$root.monitorList[monitor.id].tags : [] |  |  |                             tags: newState==="visible" ? this.$root.monitorList[monitor.id].tags : [] | 
			
		
	
		
		
			
				
					|  |  |                         } |  |  |                         } | 
			
		
	
		
		
			
				
					|  |  |                     }) |  |  |                     }) | 
			
		
	
	
		
		
			
				
					|  | 
 |