- saving progress;
This commit is contained in:
@@ -51,6 +51,7 @@ import SoccorsoEditInstructorManager from './pages/SoccorsoEditInstructorManager
|
||||
import SoccorsoIstruttorioInstructorManager from './pages/SoccorsoIstruttorioInstructorManager';
|
||||
import SoccorsoIstruttorioMioInstructorManager from './pages/SoccorsoIstruttorioMioInstructorManager';
|
||||
import StatsBeneficiary from './pages/StatsBeneficiary';
|
||||
import DocumentsBeneficiary from './pages/DocumentsBeneficiary';
|
||||
|
||||
const routes = ({ role, chosenCompanyId }) => {
|
||||
|
||||
@@ -245,7 +246,7 @@ const routes = ({ role, chosenCompanyId }) => {
|
||||
</DefaultLayout>}/>
|
||||
<Route path="/documenti" element={<DefaultLayout>
|
||||
{'ROLE_SUPER_ADMIN' === role ? <PageNotFound/> : null}
|
||||
{'ROLE_BENEFICIARY' === role ? <StatsBeneficiary/> : null}
|
||||
{'ROLE_BENEFICIARY' === role ? <DocumentsBeneficiary/> : null}
|
||||
{'ROLE_PRE_INSTRUCTOR' === role ? <PageNotFound/> : null}
|
||||
{'ROLE_INSTRUCTOR_MANAGER' === role ? <PageNotFound/> : null}
|
||||
</DefaultLayout>}/>
|
||||
|
||||
Reference in New Issue
Block a user