mirror of
https://github.com/solidtime-io/solidtime.git
synced 2026-08-15 19:52:15 +01:00
fix employee reporting request, fix billable update, fix start of week in reporting
This commit is contained in:
committed by
Constantin Graf
parent
c888ac7ec2
commit
ce00f5f446
@@ -24,6 +24,12 @@ function getCurrentMembershipId() {
|
||||
)?.membership.id;
|
||||
}
|
||||
|
||||
function getCurrentRole() {
|
||||
return page.props.auth.user.all_teams.find(
|
||||
(team) => team.id === getCurrentOrganizationId()
|
||||
)?.membership.role;
|
||||
}
|
||||
|
||||
function getUserTimezone() {
|
||||
return page.props.auth.user.timezone;
|
||||
}
|
||||
@@ -34,4 +40,5 @@ export {
|
||||
getUserTimezone,
|
||||
getWeekStart,
|
||||
getCurrentMembershipId,
|
||||
getCurrentRole,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user