mirror of
https://github.com/solidtime-io/solidtime.git
synced 2026-08-16 20:22:15 +01:00
add week_start default for unauthenticated shared reports view
This commit is contained in:
@@ -32,7 +32,7 @@ createInertiaApp({
|
|||||||
user: User;
|
user: User;
|
||||||
};
|
};
|
||||||
}>();
|
}>();
|
||||||
return page.props.auth.user.week_start;
|
return page.props.auth.user.week_start ?? 'monday';
|
||||||
};
|
};
|
||||||
window.getTimezoneSetting = function () {
|
window.getTimezoneSetting = function () {
|
||||||
const page = usePage<{
|
const page = usePage<{
|
||||||
|
|||||||
Reference in New Issue
Block a user