Fetch Data for Invitation through Emails
Summary
There are two ways of inviting users:
- Invite through dashboard -> goes into teams. This route is handled.
- Invite through email -> goes into invitations. This route is not handled <- we want to handle it.
So fetch data for those users and add to
- Decline dropdown
- Kanban board "Invited" column
Additionally:
-
Hide the "Show declined" dropdown and overall UI if there are no declined reviewers -
Small bug in the declined dropdown. Clicking anywhere within the reviewer list displayed will also close the dropdown. We only want a click on the header to close the dropdown