From bb4e671c83c498304b04c57d501266d970094721 Mon Sep 17 00:00:00 2001 From: Dave Date: Tue, 9 Dec 2025 17:13:59 -0500 Subject: [PATCH] feature/IO-3461-Fix-Eula --- client/src/App/App.jsx | 2 +- client/src/components/eula/eula.component.jsx | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/client/src/App/App.jsx b/client/src/App/App.jsx index ea3be8f5a..e14162274 100644 --- a/client/src/App/App.jsx +++ b/client/src/App/App.jsx @@ -138,7 +138,7 @@ export function App({ ); } - if (currentEula && !currentUser.eulaIsAccepted) { + if (!isPartsEntry && currentEula && !currentUser.eulaIsAccepted) { return ; } diff --git a/client/src/components/eula/eula.component.jsx b/client/src/components/eula/eula.component.jsx index f21824388..f5d6ea8fc 100644 --- a/client/src/components/eula/eula.component.jsx +++ b/client/src/components/eula/eula.component.jsx @@ -55,7 +55,8 @@ const Eula = ({ currentEula, currentUser, acceptEula }) => { const useremail = currentUser.email; try { - const { ...otherFormValues } = formValues; + // eslint-disable-next-line no-unused-vars + const { accepted_terms, ...otherFormValues } = formValues; // Trim the values of the fields before submitting const trimmedFormValues = Object.entries(otherFormValues).reduce((acc, [key, value]) => {