added ? to colors in calendar and changed the api calls to get all personnal calendars

This commit is contained in:
Camille Moussu
2025-07-03 17:04:11 +02:00
parent 29980e1fad
commit 1b55f82e45
3 changed files with 2 additions and 4 deletions
-2
View File
@@ -21,11 +21,9 @@ export const getCalendarsAsync = createAsyncThunk<
? cal["calendarserver:source"]._links.self.href
.replace("/calendars/", "")
.replace(".json", "")
.split("/")[0]
: cal._links.self.href
.replace("/calendars/", "")
.replace(".json", "")
.split("/")[0];
const color = cal["apple:color"];
const calendarDetails = await getCalendar(id, access_token);