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]) => {