From 252bd97c55bfcf3fffc80ef79ce89c6f2e39bd44 Mon Sep 17 00:00:00 2001 From: Vitalii Kiiko Date: Mon, 4 Aug 2025 10:17:48 +0200 Subject: [PATCH] - adjusted number input; --- .../FormField/components/NumberInput/index.js | 4 ++-- src/pages/BandoViewBeneficiario/index.js | 12 ------------ src/pages/DashboardBeneficiario/index.js | 2 +- src/pages/DashboardBeneficiarioConfidi/index.js | 2 +- 4 files changed, 4 insertions(+), 16 deletions(-) diff --git a/src/components/FormField/components/NumberInput/index.js b/src/components/FormField/components/NumberInput/index.js index 0fec4ce..316d0a5 100644 --- a/src/components/FormField/components/NumberInput/index.js +++ b/src/components/FormField/components/NumberInput/index.js @@ -29,13 +29,13 @@ const NumberInput = ({ const input = ( field.onChange(e.value)} min={minAttr} max={maxAttr} diff --git a/src/pages/BandoViewBeneficiario/index.js b/src/pages/BandoViewBeneficiario/index.js index 374af1c..b3e6cb8 100644 --- a/src/pages/BandoViewBeneficiario/index.js +++ b/src/pages/BandoViewBeneficiario/index.js @@ -143,18 +143,6 @@ const BandoViewBeneficiario = () => { ApplicationService.createApplication(bandoId, {}, createApplCallback, errCreateApplCallback, [['companyId', chosenCompanyId]]); } } - if(data.allowMultipleApplications){ - const bandoId = getBandoId(); - ApplicationService.createApplication(bandoId, {}, createApplCallback, errCreateApplCallback, [['companyId', chosenCompanyId]]); - } else { - if (applicationObj && applicationObj.id) { - navigate(`/imieibandi/${applicationObj.id}`); - } else { - const bandoId = getBandoId(); - ApplicationService.createApplication(bandoId, {}, createApplCallback, errCreateApplCallback, [['companyId', chosenCompanyId]]); - } - } - } else { displayConfidiPopup(); } diff --git a/src/pages/DashboardBeneficiario/index.js b/src/pages/DashboardBeneficiario/index.js index 08fb5ee..ab3f2f3 100644 --- a/src/pages/DashboardBeneficiario/index.js +++ b/src/pages/DashboardBeneficiario/index.js @@ -16,7 +16,7 @@ import ErrorBoundary from '../../components/ErrorBoundary'; import LatestBandiBeneficiarioTableAsync from './components/LatestBandiBeneficiarioTableAsync'; import MyLatestSubmissionsTableAsync from './components/MyLatestSubmissionsTableAsync'; -const REACT_APP_HUB_ID = process.env.REACT_APP_HUB_ID; +//const REACT_APP_HUB_ID = process.env.REACT_APP_HUB_ID; const DashboardBeneficiario = () => { const navigate = useNavigate(); diff --git a/src/pages/DashboardBeneficiarioConfidi/index.js b/src/pages/DashboardBeneficiarioConfidi/index.js index f7d0354..ca5088d 100644 --- a/src/pages/DashboardBeneficiarioConfidi/index.js +++ b/src/pages/DashboardBeneficiarioConfidi/index.js @@ -16,7 +16,7 @@ import ErrorBoundary from '../../components/ErrorBoundary'; import MyLatestSubmissionsTableAsync from '../DashboardBeneficiario/components/MyLatestSubmissionsTableAsync'; import LatestBandiBeneficiarioTableAsync from '../DashboardBeneficiario/components/LatestBandiBeneficiarioTableAsync'; -const REACT_APP_HUB_ID = process.env.REACT_APP_HUB_ID; +//const REACT_APP_HUB_ID = process.env.REACT_APP_HUB_ID; const DashboardBeneficiarioConfidi = () => { const navigate = useNavigate();