Fixed newly created users don't have a profile picture

This commit is contained in:
2025-11-23 14:18:17 +01:00
parent bde8163916
commit b553f1c666

View File

@@ -556,7 +556,7 @@
const tbody = document.querySelector('table tbody');
const newRow = document.createElement('tr');
newRow.innerHTML = `
<td><img class="rounded-circle user-icon" src="data:image/jpeg;base64,${data.JpegPhoto || ''}" alt="Photo" style="max-width:300px;" /></td>
<td><img class="rounded-circle user-icon" src="/Home/UserPhoto?uid=${result.Uid}&size=48" alt="Photo" style="max-width:300px;" /></td>
<td>${result.Uid || ''}</td>
<td>${data.Title || ''}</td>
<td>${data.Cn || ''}</td>