- added preview of application for beneficiary;

- added isRequestedAmount setting;
This commit is contained in:
Vitalii Kiiko
2025-01-02 12:34:07 +01:00
parent be4ab1e1bd
commit 63cb275ae9
9 changed files with 49 additions and 46 deletions

View File

@@ -119,7 +119,7 @@ const routes = ({ role, chosenCompanyId }) => {
</DefaultLayout>}/>
<Route path="/domande/:id/preview" element={<DefaultLayout>
{'ROLE_SUPER_ADMIN' === role ? <BandoApplicationPreview/> : null}
{'ROLE_BENEFICIARY' === role ? <PageNotFound/> : null}
{'ROLE_BENEFICIARY' === role ? <BandoApplicationPreview/> : null}
{'ROLE_PRE_INSTRUCTOR' === role ? <BandoApplicationPreview/> : null}
{'ROLE_INSTRUCTOR_MANAGER' === role ? <BandoApplicationPreview/> : null}
</DefaultLayout>}/>