@ -311,7 +311,7 @@ function view_user_shifts()
function ical_hint()
{
$user = auth()->user();
if(!auth()->can('ical')) {
if(!config('enable_shifts_export') || !auth()->can('ical')) {
return '';
}