add multiple application in beneficiario
This commit is contained in:
@@ -98,11 +98,16 @@ const BandoViewBeneficiario = () => {
|
||||
if (REACT_APP_HUB_ID === 't7jh5wfg9QXylNaTZkPoE') {
|
||||
return __('Presenta domanda', 'gepafin');
|
||||
} else {
|
||||
if (applicationObj && applicationObj.id) {
|
||||
return __('Vai alla domanda', 'gepafin');
|
||||
} else {
|
||||
if(data.allowMultipleApplications){
|
||||
return __('Presenta domanda', 'gepafin');
|
||||
} else {
|
||||
if (applicationObj && applicationObj.id) {
|
||||
return __('Vai alla domanda', 'gepafin');
|
||||
} else {
|
||||
return __('Presenta domanda', 'gepafin');
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -110,11 +115,15 @@ const BandoViewBeneficiario = () => {
|
||||
if (REACT_APP_HUB_ID === 't7jh5wfg9QXylNaTZkPoE') {
|
||||
return 'pi pi-save';
|
||||
} else {
|
||||
if (applicationObj && applicationObj.id) {
|
||||
return 'pi pi-arrow-right';
|
||||
} else {
|
||||
if(data.allowMultipleApplications){
|
||||
return 'pi pi-save';
|
||||
}
|
||||
} else {
|
||||
if (applicationObj && applicationObj.id) {
|
||||
return 'pi pi-arrow-right';
|
||||
} else {
|
||||
return 'pi pi-save';
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user