Calendar edit Modal
This commit is contained in:
parent
792be3b497
commit
747adf7c69
6 changed files with 316 additions and 8 deletions
|
@ -55,7 +55,7 @@ export const useCalendarStore = defineStore("calendar", {
|
|||
this.fetchCalendars();
|
||||
return result;
|
||||
},
|
||||
async updateActiveCalendar(calendar: UpdateCalendarViewModel): Promise<AxiosResponse<any, any>> {
|
||||
async updateCalendar(calendar: UpdateCalendarViewModel): Promise<AxiosResponse<any, any>> {
|
||||
const result = await http.patch(`/admin/calendar/item/${calendar.id}`, {
|
||||
starttime: calendar.starttime,
|
||||
endtime: calendar.endtime,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue