Skip to content

fix: display all teams for superusers

Navin Karkera requested to merge navin/fix-reports-minor-issues into master

Add all teams in reports page for superusers.

Visual changes

screencast1

Testing instructions

Step by step procedure

  1. Log in with superuser who is not part of any team
  2. Check teams dropdown in reports page

Author notes and concerns

By default, the reports page is displaying an error message stating User not part of any team. A superuser can then select any team from the dropdown.

  • Should we display report for all teams together if nothing is selected?
  • This would be quite heavy request if we have lot of teams in future.

Merge request reports