mirror of
https://github.com/solidtime-io/solidtime.git
synced 2026-08-18 05:02:14 +01:00
hide shared reports create for employees, fix export request for employees
This commit is contained in:
committed by
Constantin Graf
parent
a3dda8b03c
commit
b4edcaa2dc
@@ -107,6 +107,10 @@ function getFilterAttributes(): AggregatedTimeEntriesQueryParams {
|
||||
: undefined,
|
||||
tag_ids: selectedTags.value.length > 0 ? selectedTags.value : undefined,
|
||||
billable: billable.value !== null ? billable.value : undefined,
|
||||
member_id:
|
||||
getCurrentRole() === 'employee'
|
||||
? getCurrentMembershipId()
|
||||
: undefined,
|
||||
};
|
||||
return params;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user