Bugfix: List no leave requests for an empty scope
Description
The list of leave requests bound a placeholder value as the employee of an empty scope, which PostgreSQL refuses for a UUID column: HR without a team of their own got a server error on the team page. An empty scope now answers an empty list without a query, and the team page opens on the company when the team is empty.
Impact
No server error for HR without a team on PostgreSQL.