File tree 1 file changed +4
-11
lines changed
web/src/routes/(user)/people/[personId]/[[photos=photos]]/[[assetId=id]]
1 file changed +4
-11
lines changed Original file line number Diff line number Diff line change 486
486
<div
487
487
class =" flex flex-col justify-center text-left px-4 h-14 text-immich-primary dark:text-immich-dark-primary"
488
488
>
489
- {#if person .name }
490
- <p class ="w-40 sm:w-72 font-medium truncate" >{person .name }</p >
491
- <p class =" absolute w-fit text-sm text-gray-500 dark:text-immich-gray bottom-0" >
492
- {$t (' assets_count' , { values: { count: numberOfAssets } })}
493
- </p >
494
- {:else }
495
- <p class ="font-medium" >{$t (' add_a_name' )}</p >
496
- <p class =" text-sm text-gray-500 dark:text-immich-gray" >
497
- {$t (' find_them_fast' )}
498
- </p >
499
- {/if }
489
+ <p class ="w-40 sm:w-72 font-medium truncate" >{person .name || $t (' add_a_name' )}</p >
490
+ <p class =" absolute w-fit text-sm text-gray-500 dark:text-immich-gray bottom-0" >
491
+ {$t (' assets_count' , { values: { count: numberOfAssets } })}
492
+ </p >
500
493
</div >
501
494
</button >
502
495
</div >
You can’t perform that action at this time.
0 commit comments