From 2a220eaa4db9fe1bfbde1c4f4825370898ef7f4c Mon Sep 17 00:00:00 2001 From: Life Date: Sun, 29 Mar 2026 16:47:36 +0200 Subject: [PATCH] fix: restore dangerouslySetInnerHTML for created/last login, keep friends count dangerouslySetInnerHTML is needed for compatibility with existing external_texts keys that contain HTML markup (e.g. Created:). Only the missing friends count line is added. --- src/components/user-profile/UserContainerView.tsx | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/components/user-profile/UserContainerView.tsx b/src/components/user-profile/UserContainerView.tsx index dd2db05..a6b3a00 100644 --- a/src/components/user-profile/UserContainerView.tsx +++ b/src/components/user-profile/UserContainerView.tsx @@ -41,12 +41,8 @@ export const UserContainerView: FC<{

{ userProfile.motto }

-

- { LocalizeText('extendedprofile.created.title') } { userProfile.registration } -

-

- { LocalizeText('extendedprofile.last.login.title') } { FriendlyTime.format(userProfile.secondsSinceLastVisit, '.ago', 2) } -

+

+

{ LocalizeText('extendedprofile.friends.count') } { userProfile.friendsCount }