overhauled occurences of AutoComplete in PermissionEditor and UserSelector, overhauled Occurences of UserSelector and PermissionEditor

Signed-off-by: Stephan Richter <s.richter@srsoftware.de>
This commit is contained in:
2026-03-17 01:10:54 +01:00
parent 72f897c40c
commit 5c0efe5730
7 changed files with 7 additions and 13 deletions

View File

@@ -22,9 +22,7 @@
if (resp.ok){
yikes();
const input = await resp.json();
return Object.fromEntries(
Object.entries(input).map(([key, value]) => [key, value.name])
);
return Object.values(input).map(user => { return {...user, display: user.name}});
} else {
error(resp);
return {};