mirror of
https://github.com/LD-Reborn/Berufsschule_HAM.git
synced 2025-12-20 06:51:55 +00:00
Merge pull request #338 from LD-Reborn/333-bug-newly-created-users-dont-have-an-image
Fixed newly created users don't have a profile picture
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user