web/admin: fix error adding users to groups (#5016)

* web/admin: fix error adding users to groups

and vice versa

Signed-off-by: Jens Langhammer <jens@goauthentik.io>

* remove seed

Signed-off-by: Jens Langhammer <jens@goauthentik.io>

---------

Signed-off-by: Jens Langhammer <jens@goauthentik.io>
This commit is contained in:
Jens L
2023-03-20 18:15:36 +01:00
committed by GitHub
parent eb78632853
commit 32840d3909
4 changed files with 6 additions and 5 deletions

View File

@ -201,7 +201,7 @@ export class Form<T> extends AKElement {
json: { [key: string]: unknown },
): void {
let parent = json;
if (!element.name.includes(".")) {
if (!element.name?.includes(".")) {
parent[element.name] = value;
return;
}