add week_start default for unauthenticated shared reports view

This commit is contained in:
Gregor Vostrak
2024-12-09 17:11:56 +01:00
parent 67e42a0a54
commit e3d8457523
+1 -1
View File
@@ -32,7 +32,7 @@ createInertiaApp({
user: User;
};
}>();
return page.props.auth.user.week_start;
return page.props.auth.user.week_start ?? 'monday';
};
window.getTimezoneSetting = function () {
const page = usePage<{