diff options
Diffstat (limited to 'includes/controller')
-rw-r--r-- | includes/controller/angeltypes_controller.php | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/includes/controller/angeltypes_controller.php b/includes/controller/angeltypes_controller.php index 5c3bd859..a47c1340 100644 --- a/includes/controller/angeltypes_controller.php +++ b/includes/controller/angeltypes_controller.php @@ -192,6 +192,11 @@ function angeltype_controller() $shiftsFilterRenderer->enableDaySelection($days); $shiftCalendarRenderer = shiftCalendarRendererByShiftFilter($shiftsFilter); + $request = request(); + $tab = 0; + if($request->has('shifts_filter_day')) { + $tab = 1; + } return [ sprintf(_('Team %s'), $angeltype['name']), @@ -205,7 +210,8 @@ function angeltype_controller() $user_driver_license, $user, $shiftsFilterRenderer, - $shiftCalendarRenderer + $shiftCalendarRenderer, + $tab ) ]; } |