From 0e227fc4ea04bb07668a9135b1551f3fde045068 Mon Sep 17 00:00:00 2001 From: LD-Reborn Date: Sat, 15 Nov 2025 20:52:14 +0100 Subject: [PATCH] Fixed date not showing correctly after creation --- src/Views/Home/Users.cshtml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Views/Home/Users.cshtml b/src/Views/Home/Users.cshtml index 47770e8..aa3dafd 100644 --- a/src/Views/Home/Users.cshtml +++ b/src/Views/Home/Users.cshtml @@ -303,6 +303,7 @@ updateButton.setAttribute('data-user-name', data.Cn || ''); updateButton.setAttribute('data-user-surname', data.Sn || ''); updateButton.setAttribute('data-user-workplace', data.Description?.Workplace || ''); + updateButton.setAttribute('data-user-birthdate', data.Description?.BirthDate || ''); updateButton.setAttribute('data-user-groups', JSON.stringify(data.Description?.Groups || [])); if (data.JpegPhoto && data.JpegPhoto.length > 0) { @@ -568,7 +569,7 @@ data-user-title="${data.Title || ''}" data-user-name="${data.Cn || ''}" data-user-surname="${data.Sn || ''}" - data-user-birthdate="${data.BirthDate}" + data-user-birthdate="${data.Description.BirthDate}" data-user-address-city="${data.Description.Address.City}" data-user-address-street="${data.Description.Address.Street}" data-user-address-streetnr="${data.Description.Address.StreetNr}"