mirror of
				https://github.com/blakeblackshear/frigate.git
				synced 2025-10-27 10:52:11 +01:00 
			
		
		
		
	Handle case where sub label was null (#12785)
This commit is contained in:
		
							parent
							
								
									ff2e46650c
								
							
						
					
					
						commit
						b1806b0a7c
					
				| @ -266,10 +266,7 @@ export default function LivePlayer({ | ||||
|                     ), | ||||
|                   ]), | ||||
|                 ] | ||||
|                   .filter( | ||||
|                     (label) => | ||||
|                       label !== undefined && !label.includes("-verified"), | ||||
|                   ) | ||||
|                   .filter((label) => label?.includes("-verified") == false) | ||||
|                   .map((label) => capitalizeFirstLetter(label)) | ||||
|                   .sort() | ||||
|                   .join(", ") | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user