- page benficiary domanda/soccorso;
- fixed fetching data in overview tables for beneficiary/pre instructor; - fixed styles;
This commit is contained in:
@@ -33,6 +33,8 @@ import DomandaEditPreInstructor from './pages/DomandaEditPreInstructor';
|
||||
import SoccorsoIstruttorioPreInstructor from './pages/SoccorsoIstruttorioPreInstructor';
|
||||
import SoccorsoEditPreInstructor from './pages/SoccorsoEditPreInstructor';
|
||||
import SoccorsoAddPreInstructor from './pages/SoccorsoAddPreInstructor';
|
||||
import DomandeBeneficiario from './pages/DomandeBeneficiario';
|
||||
import DomandaBeneficiario from './pages/DomandaBeneficiario';
|
||||
|
||||
const routes = ({ role, chosenCompanyId }) => {
|
||||
|
||||
@@ -86,12 +88,12 @@ const routes = ({ role, chosenCompanyId }) => {
|
||||
</DefaultLayout>}/>
|
||||
<Route path="/domande" element={<DefaultLayout>
|
||||
{'ROLE_SUPER_ADMIN' === role ? <Domande/> : null}
|
||||
{'ROLE_BENEFICIARY' === role ? <PageNotFound/> : null}
|
||||
{'ROLE_BENEFICIARY' === role ? <DomandeBeneficiario/> : null}
|
||||
{'ROLE_PRE_INSTRUCTOR' === role ? <DomandePreInstructor/> : null}
|
||||
</DefaultLayout>}/>
|
||||
<Route path="/domande/:id/" element={<DefaultLayout>
|
||||
{'ROLE_SUPER_ADMIN' === role ? <PageNotFound/> : null}
|
||||
{'ROLE_BENEFICIARY' === role ? <PageNotFound/> : null}
|
||||
{'ROLE_BENEFICIARY' === role ? <DomandaBeneficiario/> : null}
|
||||
{'ROLE_PRE_INSTRUCTOR' === role ? <DomandaEditPreInstructor/> : null}
|
||||
</DefaultLayout>}/>
|
||||
<Route path="/domande/:id/aggiungi-soccorso/:evaluationId" element={<DefaultLayout>
|
||||
|
||||
Reference in New Issue
Block a user