mirror of
				https://github.com/immich-app/immich.git
				synced 2025-11-03 19:29:32 -05:00 
			
		
		
		
	fix(web): non-null error
This commit is contained in:
		
							parent
							
								
									28a15365d6
								
							
						
					
					
						commit
						e8bf498236
					
				@ -42,7 +42,7 @@
 | 
				
			|||||||
      segment.timeGroup = bucket.bucketDate;
 | 
					      segment.timeGroup = bucket.bucketDate;
 | 
				
			||||||
      segment.date = fromLocalDateTime(segment.timeGroup);
 | 
					      segment.date = fromLocalDateTime(segment.timeGroup);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      if (prev && prev!.date.year !== segment.date.year && height > MIN_YEAR_LABEL_DISTANCE) {
 | 
					      if (prev?.date.year !== segment.date.year && height > MIN_YEAR_LABEL_DISTANCE) {
 | 
				
			||||||
        prev.hasLabel = true;
 | 
					        prev.hasLabel = true;
 | 
				
			||||||
        height = 0;
 | 
					        height = 0;
 | 
				
			||||||
      }
 | 
					      }
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user