mirror of
				https://github.com/immich-app/immich.git
				synced 2025-11-03 19:17:11 -05:00 
			
		
		
		
	fix(web): show camera make in search options after searching (#11884)
This commit is contained in:
		
							parent
							
								
									5ef9a8ff8d
								
							
						
					
					
						commit
						c9f1304bce
					
				@ -27,11 +27,12 @@
 | 
				
			|||||||
      model,
 | 
					      model,
 | 
				
			||||||
      includeNull: true,
 | 
					      includeNull: true,
 | 
				
			||||||
    });
 | 
					    });
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    makes = results.map((result) => result ?? '');
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    if (filters.make && !makes.includes(filters.make)) {
 | 
					    if (filters.make && !makes.includes(filters.make)) {
 | 
				
			||||||
      filters.make = undefined;
 | 
					      filters.make = undefined;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					 | 
				
			||||||
    makes = results.map((result) => result ?? '');
 | 
					 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  async function updateModels(make?: string) {
 | 
					  async function updateModels(make?: string) {
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user