Skip to content
Snippets Groups Projects
Commit cd4a9d08 authored by s87777's avatar s87777
Browse files

Änderungen EditUserDialog

parent 0f853269
No related branches found
No related tags found
No related merge requests found
......@@ -34,7 +34,11 @@ export default function EditUserDialog({show, onHide, selectedUser} : EditUserDi
onHide();
window.location.reload();
}catch(err){
setMessage(String(err));
if (err instanceof Error) {
setMessage(err.message);
} else{
setMessage("Fehler");
}
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment