username replacement and Active task window feedback

This commit was merged in pull request #611.
This commit is contained in:
2024-03-04 15:16:41 +01:00
parent 0baacb3057
commit b676a2a4f3
4 changed files with 9 additions and 8 deletions
+3 -2
View File
@@ -55,7 +55,8 @@ export default function FamilyTable({
banner,
enable_traking,
profile_picture,
imageServer
imageServer,
username
}) => {
// Check for valid dates
const addedDate = added ? added.split(" ")[0] : "N/A";
@@ -87,7 +88,7 @@ export default function FamilyTable({
</div>
<div className="flex flex-col flex-[0.9]">
<h1 className="font-bold text-xl text-dark-gray dark:text-white whitespace-nowrap">
{`${firstname} ${lastname} (${age < 10 ? `0${age}` : age})`}
{`${firstname} ${lastname} (${username})`}
</h1>
<span className="text-sm text-thin-light-gray">
Added: <span className="text-purple ml-1">{addedDate}</span>