This commit is contained in:
sinavir 2022-07-18 13:29:28 +02:00
parent 183d0df233
commit b75e933e99
2 changed files with 22 additions and 6 deletions

BIN
public.tar.gz Normal file

Binary file not shown.

View file

@ -58,6 +58,21 @@ const calendars = {
name: 'Ernestophone',
color: null
},
QZGnSH8GNeDpqkXt: {
cloud: clouds.ELEVES_ENS,
name: 'COF - Évènements',
color: null
},
bCgRFByHLiCCNc55: {
cloud: clouds.ELEVES_ENS,
name: 'COF - AG',
color: null
},
r4yJZDHjwNtH8wkR: {
cloud: clouds.ELEVES_ENS,
name: 'BdA',
color: null
},
T5WoHbs4FT5A945Z: {
cloud: clouds.FRAMA_AGENDA,
name: 'CinéClub',
@ -82,6 +97,11 @@ export const initialCalendars = Array.from(
.map(cal => cal[0])
export const calendarTree = {
COF: {
BdA: {},
'COF - Évènements': {}
'COF - AG': {},
},
'Clubs COF': {
'Club réseau': {},
hackENS: {},
@ -90,13 +110,9 @@ export const calendarTree = {
Ernestophone: {},
'Club Inutile ☔': {}
},
COF: {
BDA: {},
AG: {}
},
BDS: {},
'Délégation Générale': {},
'K-Fêt': {}
'K-Fêt': {},
'Rentrée académique': {}
}
export function getSubCalendars(name, tree = calendarTree) {