- 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:
Vitalii Kiiko
2024-09-30 09:53:12 +02:00
parent 4be858ca74
commit 8ee159824f
9 changed files with 141 additions and 69 deletions

View File

@@ -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>