- added evaluation single page new sections;
This commit is contained in:
@@ -27,9 +27,9 @@ import AddCompany from './pages/AddCompany';
|
||||
import ResetPassword from './pages/ResetPassword';
|
||||
import DashboardPreInstructor from './pages/DashboardPreInstructor';
|
||||
import ProfileBeneficiario from './pages/ProfileBeneficiario';
|
||||
import Evaluations from './pages/Evaluations';
|
||||
import EvaluationEdit from './pages/EvaluationEdit';
|
||||
import Domande from './pages/Domande';
|
||||
import DomandePreInstructor from './pages/DomandePreInstructor';
|
||||
import DomandaEdit from './pages/DomandaEdit';
|
||||
|
||||
const routes = ({ role, chosenCompanyId }) => {
|
||||
|
||||
@@ -84,12 +84,12 @@ const routes = ({ role, chosenCompanyId }) => {
|
||||
<Route path="/domande" element={<DefaultLayout>
|
||||
{'ROLE_SUPER_ADMIN' === role ? <Domande/> : null}
|
||||
{'ROLE_BENEFICIARY' === role ? <PageNotFound/> : null}
|
||||
{'ROLE_PRE_INSTRUCTOR' === role ? <Evaluations/> : 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_PRE_INSTRUCTOR' === role ? <EvaluationEdit/> : null}
|
||||
{'ROLE_PRE_INSTRUCTOR' === role ? <DomandaEdit/> : null}
|
||||
</DefaultLayout>}/>
|
||||
<Route path="/imieibandi" element={<DefaultLayout>
|
||||
{'ROLE_SUPER_ADMIN' === role ? <PageNotFound/> : null}
|
||||
|
||||
Reference in New Issue
Block a user