06/06/2024 - 12h
parent
806708a266
commit
19c2d6ee3f
|
@ -1268,7 +1268,7 @@ const DisplayPartnerSession = (props) => {
|
||||||
|
|
||||||
setLoading(true);
|
setLoading(true);
|
||||||
axios.post(myurl, form).then(res => {
|
axios.post(myurl, form).then(res => {
|
||||||
setLoading(false);
|
|
||||||
if (String(res.data.status) === String("true")) {
|
if (String(res.data.status) === String("true")) {
|
||||||
//console.log(" In Getall_TrainingSession res.data.status = " + res.data.status);
|
//console.log(" In Getall_TrainingSession res.data.status = " + res.data.status);
|
||||||
//console.log(" In Getall_TrainingSession res.data.message r_class = " + res.data.message);
|
//console.log(" In Getall_TrainingSession res.data.message r_class = " + res.data.message);
|
||||||
|
@ -1282,6 +1282,7 @@ const DisplayPartnerSession = (props) => {
|
||||||
alert(res.data.message)
|
alert(res.data.message)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
setLoading(false);
|
||||||
}).catch((error) => {
|
}).catch((error) => {
|
||||||
setLoading(false);
|
setLoading(false);
|
||||||
console.warn('Not good man :( Getall_TrainingSession = ', error);
|
console.warn('Not good man :( Getall_TrainingSession = ', error);
|
||||||
|
|
Loading…
Reference in New Issue