mirror of
				https://github.com/immich-app/immich.git
				synced 2025-11-04 03:27:09 -05:00 
			
		
		
		
	fix: show asset count for unassigned faces (#12871)
This commit is contained in:
		
							parent
							
								
									e748945b4f
								
							
						
					
					
						commit
						87c54d6659
					
				@ -486,17 +486,10 @@
 | 
				
			|||||||
                  <div
 | 
					                  <div
 | 
				
			||||||
                    class="flex flex-col justify-center text-left px-4 h-14 text-immich-primary dark:text-immich-dark-primary"
 | 
					                    class="flex flex-col justify-center text-left px-4 h-14 text-immich-primary dark:text-immich-dark-primary"
 | 
				
			||||||
                  >
 | 
					                  >
 | 
				
			||||||
                    {#if person.name}
 | 
					                    <p class="w-40 sm:w-72 font-medium truncate">{person.name || $t('add_a_name')}</p>
 | 
				
			||||||
                      <p class="w-40 sm:w-72 font-medium truncate">{person.name}</p>
 | 
					 | 
				
			||||||
                    <p class="absolute w-fit text-sm text-gray-500 dark:text-immich-gray bottom-0">
 | 
					                    <p class="absolute w-fit text-sm text-gray-500 dark:text-immich-gray bottom-0">
 | 
				
			||||||
                      {$t('assets_count', { values: { count: numberOfAssets } })}
 | 
					                      {$t('assets_count', { values: { count: numberOfAssets } })}
 | 
				
			||||||
                    </p>
 | 
					                    </p>
 | 
				
			||||||
                    {:else}
 | 
					 | 
				
			||||||
                      <p class="font-medium">{$t('add_a_name')}</p>
 | 
					 | 
				
			||||||
                      <p class="text-sm text-gray-500 dark:text-immich-gray">
 | 
					 | 
				
			||||||
                        {$t('find_them_fast')}
 | 
					 | 
				
			||||||
                      </p>
 | 
					 | 
				
			||||||
                    {/if}
 | 
					 | 
				
			||||||
                  </div>
 | 
					                  </div>
 | 
				
			||||||
                </button>
 | 
					                </button>
 | 
				
			||||||
              </div>
 | 
					              </div>
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user