fix: Show all teams on frontend if nothing is present

This MR introduces two key changes to improve the handling of team_ids:

Backend Validation for undefined Team IDs:

The backend now validates against undefined values for team_ids and returns a relevant error message to the frontend, ensuring more robust error handling and improved feedback for invalid inputs. Frontend Handling of undefined Team IDs:

The frontend has been updated to prevent sending undefined as the value for team_ids. If no specific team_ids is provided, the field will be omitted from the request, allowing the backend to return all team IDs that the user is associated with.

Supporting information

Visual changes

listaflow-undefined

Merge deadline

None

Testing instructions

Step by step procedure Try to follow the flow in the ticket and it should show the report of all the teams the user is part of

Author notes and concerns

None or note it here

Edited by Saksham Agrawal

Merge request reports

Loading