Added check on client side (api)

This commit is contained in:
Alexis
2024-11-24 19:56:00 +01:00
parent 5258ed3f2a
commit c7069164b0
10 changed files with 68 additions and 24 deletions

View File

@@ -869,8 +869,8 @@ export const useCalendar = defineStore("calendar", () => {
const eventIndex = baseEvents.value.findIndex(e => e.id === eventSkeleton.value.id)
baseEvents.value[eventIndex] = res
} catch (err) {
console.log(err)
return res
} finally {
abortController = null
isUpdatingEvent.value = false