- added 'bandi disponibili' page;
- improved some styles and displaying data in tables;
This commit is contained in:
@@ -18,6 +18,7 @@ import BandoFlowEdit from './pages/BandoFlowEdit';
|
||||
import Applications from './pages/Applications';
|
||||
import BandoApplication from './pages/BandoApplication';
|
||||
import Registration from './pages/Registration';
|
||||
import BandiBeneficiario from './pages/BandiBeneficiario';
|
||||
|
||||
const routes = ({ role }) => {
|
||||
return (
|
||||
@@ -29,7 +30,7 @@ const routes = ({ role }) => {
|
||||
</DefaultLayout>}/>
|
||||
<Route path="/bandi" element={<DefaultLayout>
|
||||
{'ROLE_SUPER_ADMIN' === role ? <Bandi/> : null}
|
||||
{'ROLE_BENEFICIARY' === role ? <PageNotFound/> : null}
|
||||
{'ROLE_BENEFICIARY' === role ? <BandiBeneficiario/> : null}
|
||||
</DefaultLayout>}/>
|
||||
<Route path="/bandi/:id" element={<DefaultLayout>
|
||||
{'ROLE_SUPER_ADMIN' === role ? <BandoEdit/> : null}
|
||||
|
||||
Reference in New Issue
Block a user