Skip to content

Commit

Permalink
add week_start default for unauthenticated shared reports view
Browse files Browse the repository at this point in the history
  • Loading branch information
Onatcer committed Dec 9, 2024
1 parent 67e42a0 commit e3d8457
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/js/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<{
Expand Down

0 comments on commit e3d8457

Please sign in to comment.