added id when the object is still new (#23664)

fixes: #22890
This commit is contained in:
Erik Jan de Wit 2023-10-10 14:00:50 +02:00 committed by GitHub
parent 7385ed56c7
commit 0624ad5b0e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -88,7 +88,7 @@ export default function AddMapper() {
id: id!,
alias: alias!,
},
{ ...identityProviderMapper },
{ ...identityProviderMapper, id },
);
addAlert(t("mapperSaveSuccess"), AlertVariant.success);
} catch (error) {