mirror of
https://github.com/solidtime-io/solidtime.git
synced 2026-08-14 11:12:16 +01:00
respect start of week setting for charts
This commit is contained in:
@@ -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,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user