- added cache faq items;
- added terms pdf; - added redirect to 'add company' for new users;
This commit is contained in:
@@ -112,19 +112,6 @@ const BandoViewBeneficiario = () => {
|
||||
const createCallBack = (data) => {
|
||||
if (data.status === 'SUCCESS') {
|
||||
setNewQuestion('');
|
||||
/*if (bandoMsgs.current && data.message) {
|
||||
bandoMsgs.current.show([
|
||||
{
|
||||
sticky: true, severity: 'success', summary: '',
|
||||
detail: data.message,
|
||||
closable: true
|
||||
}
|
||||
]);
|
||||
|
||||
setTimeout(() => {
|
||||
bandoMsgs.current.clear();
|
||||
}, 5000);
|
||||
}*/
|
||||
if (toast.current) {
|
||||
toast.current.show({
|
||||
severity: 'success',
|
||||
@@ -355,7 +342,7 @@ const BandoViewBeneficiario = () => {
|
||||
label={__('Salva', 'gepafin')}/>
|
||||
</div>
|
||||
|
||||
{chosenCompanyId === 0
|
||||
{!chosenCompanyId || chosenCompanyId === 0
|
||||
? <>
|
||||
<Message severity="error"
|
||||
text={__('Devi creare un\'azienda prima di partecipare nei bandi. Vai nel profilo aziendale.', 'gepafin')}/>
|
||||
|
||||
Reference in New Issue
Block a user