diff --git a/src/webapp/pages/survey-list/useRedirectHome.ts b/src/webapp/pages/survey-list/useRedirectHome.ts index 5bba2750..31fa0c43 100644 --- a/src/webapp/pages/survey-list/useRedirectHome.ts +++ b/src/webapp/pages/survey-list/useRedirectHome.ts @@ -30,9 +30,6 @@ export function useRedirectHome() { if ( (formType === "PPSCountryQuestionnaire" && !currentPPSSurveyForm) || - (hasAdminAccess && - formType === "PPSHospitalForm" && - !currentCountryQuestionnaire) || (formType === "PPSWardRegister" && !currentHospitalForm) || (formType === "PPSPatientRegister" && !currentWardRegister) || (hasAdminAccess && @@ -52,7 +49,6 @@ export function useRedirectHome() { currentModule, userGroups, currentPPSSurveyForm, - currentCountryQuestionnaire, currentHospitalForm, currentWardRegister, currentPrevalenceSurveyForm,