mirror of
https://github.com/immich-app/immich.git
synced 2025-01-04 02:46:47 +01:00
fix: show asset count for unassigned faces (#12871)
This commit is contained in:
parent
fe84f1cc90
commit
91b07fbac8
1 changed files with 4 additions and 11 deletions
|
@ -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…
Reference in a new issue