('fcDefaultViewProject') !== null ? localStorage.getItem('fcDefaultViewProject') : 'dayGridWeek');
      let calendarEl = document.getElementById('calendar');
      let calendar = new FullCalendar.Calendar(calendarEl, {
        initialView: defaultView,
        height: 'auto',
        headerToolbar: {
          left: 'today prev,next',
          center: 'title',
          right: 'dayGridDay dayGridWeek dayGridMonth listWeek'
        },

        {% comment %} On view change, save the selected view to local s