mirror of
https://github.com/LD-Reborn/Berufsschule_HAM.git
synced 2025-12-20 06:51:55 +00:00
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 tbody = document.querySelector('table tbody');
|
||||||
const newRow = document.createElement('tr');
|
const newRow = document.createElement('tr');
|
||||||
newRow.innerHTML = `
|
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>${result.Uid || ''}</td>
|
||||||
<td>${data.Title || ''}</td>
|
<td>${data.Title || ''}</td>
|
||||||
<td>${data.Cn || ''}</td>
|
<td>${data.Cn || ''}</td>
|
||||||
|
|||||||
Reference in New Issue
Block a user