Merge branch 'develop' into feature/130-table-async
This commit is contained in:
@@ -695,11 +695,11 @@ const DomandaEditInstructorManager = () => {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
AppointmentService.createAppointment(id, submitData, getAppointemntCallback, errGetAppointemntCallback);
|
AppointmentService.createAppointment(id, submitData, getAppointmentCallback, errGetAppointemntCallback);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
const getAppointemntCallback = (data) => {
|
const getAppointmentCallback = (data) => {
|
||||||
if (data.status === 'SUCCESS') {
|
if (data.status === 'SUCCESS') {
|
||||||
if (toast.current && data.message) {
|
if (toast.current && data.message) {
|
||||||
toast.current.show({
|
toast.current.show({
|
||||||
@@ -708,6 +708,12 @@ const DomandaEditInstructorManager = () => {
|
|||||||
detail: data.message
|
detail: data.message
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
if (data.data.appointmentId) {
|
||||||
|
setData({
|
||||||
|
...data,
|
||||||
|
appointmentId: data.data.appointmentId
|
||||||
|
});
|
||||||
|
}
|
||||||
}
|
}
|
||||||
setIsVisibleAppointmentDialog(false);
|
setIsVisibleAppointmentDialog(false);
|
||||||
storeSet.main.unsetAsyncRequest();
|
storeSet.main.unsetAsyncRequest();
|
||||||
|
|||||||
@@ -697,11 +697,11 @@ const DomandaEditPreInstructor = () => {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
AppointmentService.createAppointment(id, submitData, getAppointemntCallback, errGetAppointemntCallback);
|
AppointmentService.createAppointment(id, submitData, getAppointmentCallback, errGetAppointemntCallback);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
const getAppointemntCallback = (data) => {
|
const getAppointmentCallback = (data) => {
|
||||||
if (data.status === 'SUCCESS') {
|
if (data.status === 'SUCCESS') {
|
||||||
if (toast.current && data.message) {
|
if (toast.current && data.message) {
|
||||||
toast.current.show({
|
toast.current.show({
|
||||||
@@ -710,6 +710,12 @@ const DomandaEditPreInstructor = () => {
|
|||||||
detail: data.message
|
detail: data.message
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
if (data.data.appointmentId) {
|
||||||
|
setData({
|
||||||
|
...data,
|
||||||
|
appointmentId: data.data.appointmentId
|
||||||
|
});
|
||||||
|
}
|
||||||
}
|
}
|
||||||
setIsVisibleAppointmentDialog(false);
|
setIsVisibleAppointmentDialog(false);
|
||||||
storeSet.main.unsetAsyncRequest();
|
storeSet.main.unsetAsyncRequest();
|
||||||
|
|||||||
@@ -156,6 +156,13 @@ const Login = () => {
|
|||||||
<span>{__('Entra con SPID / CIE', 'gepafin')}</span>
|
<span>{__('Entra con SPID / CIE', 'gepafin')}</span>
|
||||||
</button>
|
</button>
|
||||||
|
|
||||||
|
{/*<div className="appPage__spacer"></div>
|
||||||
|
|
||||||
|
<div className="appPageSection__message warning">
|
||||||
|
<i className="pi pi-exclamation-triangle"></i>
|
||||||
|
<span>{__('Gentili clienti abbiamo riscontrato dei problemi di autenticazione allo Spid per alcuni provider, in caso di impossibilità di accesso si prega di provare ad accedere con la carta di identità elettronica. Stiamo cercando di risolvere al più presto tutti i problemi.', 'gepafin')}</span>
|
||||||
|
</div>*/}
|
||||||
|
|
||||||
<div className="appPage__spacer"></div>
|
<div className="appPage__spacer"></div>
|
||||||
|
|
||||||
<p><a href={origin} onClick={openCacheFaq}>{__('Hai problemi di accesso con SPID?', 'gepafin')}</a></p>
|
<p><a href={origin} onClick={openCacheFaq}>{__('Hai problemi di accesso con SPID?', 'gepafin')}</a></p>
|
||||||
|
|||||||
Reference in New Issue
Block a user