Merge branch 'master' into develop
This commit is contained in:
@@ -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'))
|
||||
? <Button onClick={() => goToBandoPage(data.id)} severity="info">
|
||||
{__('Partecipa', 'gepafin')}
|
||||
{isAntiMoneylaundry ? __('Compila', 'gepafin') : __('Partecipa', 'gepafin')}
|
||||
</Button> : null}
|
||||
{isCallExpired
|
||||
? <p><Badge value={__('È scaduto', 'gepafin')} severity="danger"></Badge></p> : null}
|
||||
@@ -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')))
|
||||
? <Button onClick={() => goToBandoPage(data.id)} severity="info">
|
||||
{data.allowMultipleApplications ? __('Partecipa', 'gepafin') : __('Mostra', 'gepafin')}
|
||||
{data.allowMultipleApplications
|
||||
? isAntiMoneylaundry ? __('Compila', 'gepafin') : __('Partecipa', 'gepafin')
|
||||
: __('Mostra', 'gepafin')}
|
||||
</Button> : null}
|
||||
</div>
|
||||
);
|
||||
|
||||
@@ -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, [
|
||||
|
||||
Reference in New Issue
Block a user