06/06/2024 - 12h
parent
806708a266
commit
19c2d6ee3f
|
@ -219,7 +219,7 @@ const DisplayPartnerSession = (props) => {
|
|||
}
|
||||
|
||||
},
|
||||
|
||||
|
||||
{ field: 'code_session', headerName: 'Code session', hide: false, minWidth: 200, flex: 1, renderCell: (params) => <ExpandableCell_50 {...params} />, },
|
||||
{ field: 'session_title', headerName: 'Titre', hide: false, flex: 1, minWidth: 250, renderCell: (params) => <ExpandableCell_50 {...params} />, },
|
||||
|
||||
|
@ -1268,7 +1268,7 @@ const DisplayPartnerSession = (props) => {
|
|||
|
||||
setLoading(true);
|
||||
axios.post(myurl, form).then(res => {
|
||||
setLoading(false);
|
||||
|
||||
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.message r_class = " + res.data.message);
|
||||
|
@ -1282,6 +1282,7 @@ const DisplayPartnerSession = (props) => {
|
|||
alert(res.data.message)
|
||||
}
|
||||
|
||||
setLoading(false);
|
||||
}).catch((error) => {
|
||||
setLoading(false);
|
||||
console.warn('Not good man :( Getall_TrainingSession = ', error);
|
||||
|
|
Loading…
Reference in New Issue