mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-30 02:25:00 +00:00
rdv: plages de disponibilités: various UX/UI improvements
This commit is contained in:
@@ -90,22 +90,6 @@ const deleteCalendarRange = (id) => {
|
||||
});
|
||||
};
|
||||
|
||||
// const deleteCalendarRange = (id) => {
|
||||
// const url = `/api/1.0/calendar/calendar-range.json`;
|
||||
// return fetch(url, {
|
||||
// method: 'DELETE',
|
||||
// headers: {
|
||||
// 'Content-Type': 'application/json;charset=utf-8'
|
||||
// },
|
||||
// body: JSON.stringify({
|
||||
// id: id
|
||||
// })
|
||||
// }).then(response => {
|
||||
// if (response.ok) { return response.json(); }
|
||||
// throw Error('Error with request resource response');
|
||||
// });
|
||||
// };
|
||||
|
||||
export {
|
||||
fetchCalendarRanges,
|
||||
fetchCalendar,
|
||||
|
Reference in New Issue
Block a user