diff --git a/apps/agent/src/login-form/LoginForm.tsx b/apps/agent/src/login-form/LoginForm.tsx index f117d38..eb2ae6d 100644 --- a/apps/agent/src/login-form/LoginForm.tsx +++ b/apps/agent/src/login-form/LoginForm.tsx @@ -174,6 +174,8 @@ export const LoginForm: React.FC = (props) => { name="isDataSharingAllowed" label="I agree to share aggregated data about my environment with Red Hat." aria-label="Share aggregated data" + onChange={(_event,checked)=>vm.handleChangeDataSharingAllowed(checked)} + isChecked={vm.isDataSharingChecked} /> @@ -236,7 +238,7 @@ export const LoginForm: React.FC = (props) => {