Sur mobile on commence avec le planning
This commit is contained in:
parent
22c1b4a784
commit
6328c0342e
3 changed files with 2 additions and 3 deletions
|
@ -25,7 +25,7 @@
|
|||
let calendar;
|
||||
|
||||
let options = writable({
|
||||
initialView: 'timeGridWeek',
|
||||
initialView: window.innerWidth < 765 ? 'listWeek' : 'timeGridWeek',
|
||||
plugins: [
|
||||
timeGridPlugin,
|
||||
dayGridPlugin,
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
let subSelections = Array.from({ length: Object.keys(calendarTree).length }, _ => []);
|
||||
$: selected = subSelections.flat();
|
||||
|
||||
let open = true;
|
||||
let open = false;
|
||||
const toggle = () => (open = !open);
|
||||
</script>
|
||||
|
||||
|
|
|
@ -82,7 +82,6 @@ function fcEventFromjCalEvent(cal) {
|
|||
color: cal.color,
|
||||
duration: end - start // in ms
|
||||
}
|
||||
console.log(cal)
|
||||
|
||||
fcEvent.calendar = cal.name
|
||||
fcEvent.short_name = evt.summary
|
||||
|
|
Loading…
Reference in a new issue