From 4cd4347fa4c3e42e73d5a32c21656ab5cb6fe8e0 Mon Sep 17 00:00:00 2001 From: Pek5892 Date: Fri, 27 Jan 2023 12:42:04 +0100 Subject: [PATCH] Fix minore --- modules/dashboard/edit.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/dashboard/edit.php b/modules/dashboard/edit.php index b251d28e3..db0fbd2f6 100755 --- a/modules/dashboard/edit.php +++ b/modules/dashboard/edit.php @@ -331,9 +331,9 @@ $vista = setting('Vista dashboard'); if ($vista == 'mese') { $def = 'dayGridMonth'; } elseif ($vista == 'giorno') { - $def = 'timeGridWeek'; + $def = 'resourceTimeGridDay'; } elseif ($vista == 'settimana') { - $def = 'listWeek'; + $def = 'timeGridWeek'; } else { $def = 'listWeek'; } @@ -514,14 +514,14 @@ globals.dashboard = { headerToolbar: { left: "prev,next today", center: "title", - right: "dayGridMonth,timeGridWeek,listWeek" + right: "dayGridMonth,timeGridWeek,resourceTimeGridDay,listWeek" }, eventDisplay: "block", timeFormat: globals.dashboard.timeFormat, slotLabelFormat: globals.dashboard.timeFormat, slotDuration: "00:15:00", snapDuration: globals.snapDuration, - initialView: "dayGridMonth", + initialView: globals.dashboard.style, slotMinTime: globals.dashboard.start_time, slotMaxTime: globals.dashboard.end_time, lazyFetching: true,