Enable the nowIndicator in fullcalendar modules

This commit is contained in:
Alex Tselegidis 2023-05-03 07:32:02 +02:00
parent 4a0f1a1354
commit 9bcc67ac89
2 changed files with 2 additions and 0 deletions

View file

@ -1570,6 +1570,7 @@ App.Utils.CalendarDefaultView = (function () {
// Initialize page calendar // Initialize page calendar
fullCalendar = new FullCalendar.Calendar($calendar[0], { fullCalendar = new FullCalendar.Calendar($calendar[0], {
initialView, initialView,
nowIndicator: true,
height: getCalendarHeight(), height: getCalendarHeight(),
editable: true, editable: true,
firstDay: firstWeekdayNumber, firstDay: firstWeekdayNumber,

View file

@ -679,6 +679,7 @@ App.Utils.CalendarTableView = (function () {
const fullCalendar = new FullCalendar.Calendar($wrapper[0], { const fullCalendar = new FullCalendar.Calendar($wrapper[0], {
initialView: 'timeGridDay', initialView: 'timeGridDay',
nowIndicator: true,
height: getCalendarHeight(), height: getCalendarHeight(),
editable: true, editable: true,
firstDay: firstWeekdayNumber, firstDay: firstWeekdayNumber,