- fixed adding company getting data populated;
- reverted to non paginated tables for displaying confidi calls;
This commit is contained in:
@@ -54,6 +54,7 @@ import StatsBeneficiary from './pages/StatsBeneficiary';
|
||||
import DocumentsBeneficiary from './pages/DocumentsBeneficiary';
|
||||
import LoginConfidi from './pages/LoginConfidi';
|
||||
import ResetPasswordAdmin from './pages/ResetPasswordAdmin';
|
||||
import DashboardBeneficiarioConfidi from './pages/DashboardBeneficiarioConfidi';
|
||||
|
||||
const routes = ({ role, chosenCompanyId }) => {
|
||||
|
||||
@@ -63,7 +64,7 @@ const routes = ({ role, chosenCompanyId }) => {
|
||||
<Route path="/" element={<DefaultLayout>
|
||||
{'ROLE_SUPER_ADMIN' === role ? <Dashboard/> : null}
|
||||
{'ROLE_BENEFICIARY' === role ? <DashboardBeneficiario/> : null}
|
||||
{'ROLE_CONFIDI' === role ? <DashboardBeneficiario/> : null}
|
||||
{'ROLE_CONFIDI' === role ? <DashboardBeneficiarioConfidi/> : null}
|
||||
{'ROLE_PRE_INSTRUCTOR' === role ? <DashboardPreInstructor/> : null}
|
||||
{'ROLE_INSTRUCTOR_MANAGER' === role ? <DashboardInstructorManager/> : null}
|
||||
</DefaultLayout>}/>
|
||||
|
||||
Reference in New Issue
Block a user