- added page 'manage users';
- changed field type for 'reuqested documents'; - added disable state logic for 'edit form' btn for unsaved call;
This commit is contained in:
@@ -22,7 +22,7 @@ import BandiBeneficiario from './pages/BandiBeneficiario';
|
||||
import LoginAdmin from './pages/LoginAdmin';
|
||||
import Profile from './pages/Profile';
|
||||
import ProfileCompany from './pages/ProfileCompany';
|
||||
import Utenti from './pages/Utenti';
|
||||
import Users from './pages/Users';
|
||||
|
||||
const routes = ({ role }) => {
|
||||
return (
|
||||
@@ -81,7 +81,7 @@ const routes = ({ role }) => {
|
||||
{'ROLE_BENEFICIARY' === role ? <ProfileCompany/> : null}
|
||||
</DefaultLayout>}/>
|
||||
<Route path="/utenti" element={<DefaultLayout>
|
||||
{'ROLE_SUPER_ADMIN' === role ? <Utenti/> : null}
|
||||
{'ROLE_SUPER_ADMIN' === role ? <Users/> : null}
|
||||
{'ROLE_BENEFICIARY' === role ? <PageNotFound/> : null}
|
||||
</DefaultLayout>}/>
|
||||
</Route>
|
||||
|
||||
Reference in New Issue
Block a user