respect start of week setting for charts

This commit is contained in:
Gregor Vostrak
2024-04-29 16:47:46 +02:00
parent 492be92592
commit fb3d326c28
6 changed files with 75 additions and 9 deletions

View File

@@ -10,6 +10,10 @@ function getCurrentUserId() {
return page.props.auth.user.id;
}
function getWeekStart() {
return page.props.auth.user.week_start;
}
function getCurrentOrganizationId() {
return page.props.auth.user.current_team_id;
}
@@ -18,4 +22,9 @@ function getUserTimezone() {
return page.props.auth.user.timezone;
}
export { getCurrentOrganizationId, getCurrentUserId, getUserTimezone };
export {
getCurrentOrganizationId,
getCurrentUserId,
getUserTimezone,
getWeekStart,
};