diff --git a/frontend/src/certs/NewRegister/ManualRegistration.tsx b/frontend/src/certs/NewRegister/ManualRegistration.tsx index 77e310d..eed0e3d 100644 --- a/frontend/src/certs/NewRegister/ManualRegistration.tsx +++ b/frontend/src/certs/NewRegister/ManualRegistration.tsx @@ -54,6 +54,7 @@ export function ManualRegistration(props: { props.onAdd(data); // This is used to update & refresh the component setCount((x) => x + 1); + setCustomLabel(""); }; const courseHasCustomLabel = () => { diff --git a/frontend/src/certs/NewRegister/RegisterPreview.tsx b/frontend/src/certs/NewRegister/RegisterPreview.tsx index c21e536..6e0ab71 100644 --- a/frontend/src/certs/NewRegister/RegisterPreview.tsx +++ b/frontend/src/certs/NewRegister/RegisterPreview.tsx @@ -79,6 +79,7 @@ function Register(props: {courseId: number, date: string, customLabel: string, o > + {props.customLabel} ); }