refactor(web): use derived instead of get(t) (#10884)

This commit is contained in:
Michel Heusschen
2024-07-05 15:06:35 +02:00
committed by GitHub
parent 6791af8c2c
commit 3cd187dced
6 changed files with 16 additions and 18 deletions

View File

@@ -109,8 +109,8 @@
curve
shadow
url={getPeopleThumbnailUrl(person)}
altText={getPersonNameWithHiddenValue(person.name, person.isHidden)}
title={getPersonNameWithHiddenValue(person.name, person.isHidden)}
altText={$getPersonNameWithHiddenValue(person.name, person.isHidden)}
title={$getPersonNameWithHiddenValue(person.name, person.isHidden)}
widthStyle="90px"
heightStyle="90px"
thumbhash={null}
@@ -118,7 +118,7 @@
/>
</div>
<p class="mt-1 truncate font-medium" title={getPersonNameWithHiddenValue(person.name, person.isHidden)}>
<p class="mt-1 truncate font-medium" title={$getPersonNameWithHiddenValue(person.name, person.isHidden)}>
{person.name}
</p>
</button>