mirror of
				https://github.com/blakeblackshear/frigate.git
				synced 2025-10-27 10:52:11 +01:00 
			
		
		
		
	Fix score in search details dialog for old events (#14541)
This commit is contained in:
		
							parent
							
								
									18824830fd
								
							
						
					
					
						commit
						8fefded8dc
					
				| @ -287,7 +287,7 @@ function ObjectDetailsTab({ | ||||
|       return 0; | ||||
|     } | ||||
| 
 | ||||
|     const value = search.data.top_score; | ||||
|     const value = search.data.top_score ?? search.top_score ?? 0; | ||||
| 
 | ||||
|     return Math.round(value * 100); | ||||
|   }, [search]); | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user