From d2e4cb239290d1c75ce5947a189023878a7af64c Mon Sep 17 00:00:00 2001 From: Vitalii Kiiko Date: Thu, 20 Nov 2025 09:25:31 +0100 Subject: [PATCH 1/5] - temp fix to resolve 403; --- src/service/network-service.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/service/network-service.js b/src/service/network-service.js index e7f049c..49cb35e 100644 --- a/src/service/network-service.js +++ b/src/service/network-service.js @@ -8,11 +8,12 @@ export class NetworkService { if (status === 500) { logMsgWithSentry(endpoint, status, resp); } else if (status === 403) { - storeSet('token', ''); + console.error('endpoint: ', endpoint, status); + /*storeSet('token', ''); const { pathname } = window.location; if (!['/login', '/registration', '/loginadmin', '/reset-password-admin', '/confidi', '/reset-password'].includes(pathname)) { window.location.replace('/login'); - } + }*/ } } From a0c57dcd2b0c0c61c71f7f144edc8949e22a144a Mon Sep 17 00:00:00 2001 From: Vitalii Kiiko Date: Thu, 20 Nov 2025 10:09:58 +0100 Subject: [PATCH 2/5] - removed error message for company docs GET request; --- .../components/EvaluationExtraFiles/index.js | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/src/pages/DomandaEditPreInstructor/components/EvaluationExtraFiles/index.js b/src/pages/DomandaEditPreInstructor/components/EvaluationExtraFiles/index.js index 7f6a060..78a63b1 100644 --- a/src/pages/DomandaEditPreInstructor/components/EvaluationExtraFiles/index.js +++ b/src/pages/DomandaEditPreInstructor/components/EvaluationExtraFiles/index.js @@ -168,16 +168,7 @@ const EvaluationExtraFiles = ({ } } - const errGetDocsCallback = (resp) => { - if (toast.current && resp.message) { - toast.current.show({ - severity: resp.status === 'SUCCESS' ? 'info' : 'error', - summary: '', - detail: resp.message - }); - } - set404FromErrorResponse(resp); - } + const errGetDocsCallback = () => {} useEffect(() => { CompanyService.getCompanyDocuments(companyId, getDocsCallback, errGetDocsCallback, [ From efeae65b8f7847fb6b07450d80e4082296bb3bc2 Mon Sep 17 00:00:00 2001 From: Vitalii Kiiko Date: Fri, 21 Nov 2025 11:37:25 +0100 Subject: [PATCH 3/5] - uncommented error status code; --- src/service/network-service.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/service/network-service.js b/src/service/network-service.js index 49cb35e..e7f049c 100644 --- a/src/service/network-service.js +++ b/src/service/network-service.js @@ -8,12 +8,11 @@ export class NetworkService { if (status === 500) { logMsgWithSentry(endpoint, status, resp); } else if (status === 403) { - console.error('endpoint: ', endpoint, status); - /*storeSet('token', ''); + storeSet('token', ''); const { pathname } = window.location; if (!['/login', '/registration', '/loginadmin', '/reset-password-admin', '/confidi', '/reset-password'].includes(pathname)) { window.location.replace('/login'); - }*/ + } } } From 2a467de1dc98740843f2d9521635c5fb4424db88 Mon Sep 17 00:00:00 2001 From: Vitalii Kiiko Date: Wed, 7 Jan 2026 11:51:26 +0100 Subject: [PATCH 4/5] - updated label 'compila' --- .../BandiBeneficiario/components/AllBandiAccordion/index.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/pages/BandiBeneficiario/components/AllBandiAccordion/index.js b/src/pages/BandiBeneficiario/components/AllBandiAccordion/index.js index 9c4b786..12788c4 100644 --- a/src/pages/BandiBeneficiario/components/AllBandiAccordion/index.js +++ b/src/pages/BandiBeneficiario/components/AllBandiAccordion/index.js @@ -224,7 +224,9 @@ const AllBandiAccordion = ({ showOnlyPreferred = false, isAntiMoneylaundry = fal {isCallExpired || isCallScheduled || (!isEmpty(chosenCompanyId) && chosenCompanyId !== 0 && data.confidi && (data.id !== 6 || (data.id === 6 && REACT_APP_HUB_ID !== 'p4lk3bcx1RStqTaIVVbXs'))) ? : null} ); From edbf3421eb787a9f9161ad6d3336077dbd7684bc Mon Sep 17 00:00:00 2001 From: Vitalii Kiiko Date: Wed, 7 Jan 2026 12:07:53 +0100 Subject: [PATCH 5/5] - updated label; --- .../BandiBeneficiario/components/AllBandiAccordion/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/BandiBeneficiario/components/AllBandiAccordion/index.js b/src/pages/BandiBeneficiario/components/AllBandiAccordion/index.js index 12788c4..a4a4c81 100644 --- a/src/pages/BandiBeneficiario/components/AllBandiAccordion/index.js +++ b/src/pages/BandiBeneficiario/components/AllBandiAccordion/index.js @@ -215,7 +215,7 @@ const AllBandiAccordion = ({ showOnlyPreferred = false, isAntiMoneylaundry = fal {!isCallExpired && !isCallScheduled && !isEmpty(chosenCompanyId) && chosenCompanyId !== 0 && (!data.confidi || (data.confidi && data.id === 6 && REACT_APP_HUB_ID === 'p4lk3bcx1RStqTaIVVbXs')) ? : null} {isCallExpired ?

: null}