On ajoute le cof et on le met avant les clubs

Co-authored-by: sinavir <sinavir@sinavir.fr>
Reviewed-on: https://git.rz.ens.wtf/Klub-RZ/metis/pulls/23
Co-authored-by: sinavir <maurice.debray@ens.fr>
Co-committed-by: sinavir <maurice.debray@ens.fr>
This commit is contained in:
sinavir 2022-07-18 13:47:05 +02:00 committed by tomate
parent 183d0df233
commit f877eda899
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', name: 'Ernestophone',
color: null 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: { T5WoHbs4FT5A945Z: {
cloud: clouds.FRAMA_AGENDA, cloud: clouds.FRAMA_AGENDA,
name: 'CinéClub', name: 'CinéClub',
@ -82,6 +97,11 @@ export const initialCalendars = Array.from(
.map(cal => cal[0]) .map(cal => cal[0])
export const calendarTree = { export const calendarTree = {
COF: {
BdA: {},
'COF - Évènements': {},
'COF - AG': {}
},
'Clubs COF': { 'Clubs COF': {
'Club réseau': {}, 'Club réseau': {},
hackENS: {}, hackENS: {},
@ -90,13 +110,9 @@ export const calendarTree = {
Ernestophone: {}, Ernestophone: {},
'Club Inutile ☔': {} 'Club Inutile ☔': {}
}, },
COF: {
BDA: {},
AG: {}
},
BDS: {},
'Délégation Générale': {}, 'Délégation Générale': {},
'K-Fêt': {} 'K-Fêt': {},
'Rentrée académique': {}
} }
export function getSubCalendars(name, tree = calendarTree) { export function getSubCalendars(name, tree = calendarTree) {