mirror of
https://github.com/LD-Reborn/Berufsschule_HAM.git
synced 2025-12-20 06:51:55 +00:00
Clear picture in between loads
This commit is contained in:
@@ -21,6 +21,7 @@ public class GroupModel
|
|||||||
string? descriptionValue = ldapData.GetValueOrDefault("description");
|
string? descriptionValue = ldapData.GetValueOrDefault("description");
|
||||||
if (descriptionValue is null)
|
if (descriptionValue is null)
|
||||||
{
|
{
|
||||||
|
DisplayName = Cn;
|
||||||
Permissions = [];
|
Permissions = [];
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|||||||
@@ -23,7 +23,10 @@ public class MigrationService : IHostedService
|
|||||||
await MigrateAsync();
|
await MigrateAsync();
|
||||||
}
|
}
|
||||||
|
|
||||||
public async Task StopAsync(CancellationToken cancellationToken) { }
|
public async Task StopAsync(CancellationToken cancellationToken)
|
||||||
|
{
|
||||||
|
await Task.CompletedTask;
|
||||||
|
}
|
||||||
|
|
||||||
public async Task<MigrationModel> MigrateAsync()
|
public async Task<MigrationModel> MigrateAsync()
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -758,6 +758,7 @@
|
|||||||
// Photo
|
// Photo
|
||||||
const imgEl = row.querySelector('td:first-child img');
|
const imgEl = row.querySelector('td:first-child img');
|
||||||
const detailPhoto = document.getElementById('detailPhoto');
|
const detailPhoto = document.getElementById('detailPhoto');
|
||||||
|
detailPhoto.src = '';
|
||||||
detailPhoto.src = `/Home/UserPhoto?uid=${data.uid}&size=256`;
|
detailPhoto.src = `/Home/UserPhoto?uid=${data.uid}&size=256`;
|
||||||
detailModal.show();
|
detailModal.show();
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user