Skip to content

Commit e3d8457

Browse files
committed
add week_start default for unauthenticated shared reports view
1 parent 67e42a0 commit e3d8457

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

resources/js/app.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ createInertiaApp({
3232
user: User;
3333
};
3434
}>();
35-
return page.props.auth.user.week_start;
35+
return page.props.auth.user.week_start ?? 'monday';
3636
};
3737
window.getTimezoneSetting = function () {
3838
const page = usePage<{

0 commit comments

Comments
 (0)