[#7] skeleton for complexe display

This commit is contained in:
Camille Moussu
2025-08-25 17:01:18 +02:00
parent 18b24edd46
commit e8a0ac41ef
6 changed files with 864 additions and 144 deletions
+3 -1
View File
@@ -26,7 +26,6 @@ export const getCalendarsListAsync = createAsyncThunk<
source = cal["calendarserver:delegatedsource"];
delegated = true;
}
console.log(source);
const id = source.replace("/calendars/", "").replace(".json", "");
const ownerData: any = await getUserDetails(id.split("/")[0]);
@@ -34,6 +33,9 @@ export const getCalendarsListAsync = createAsyncThunk<
importedCalendars[id] = {
id,
name,
owner: `${ownerData.firstname ? `${ownerData.firstname} ` : ""}${
ownerData.lastname
}`,
ownerEmails: ownerData.emails,
description,
delegated,
+1
View File
@@ -7,6 +7,7 @@ export interface Calendars {
prodid?: string;
color?: string;
ownerEmails?: string[];
owner: string;
description?: string;
calscale?: string;
version?: string;