-
Couldn't load subscription status.
- Fork 0
Open
Description
Description: There are 2 pages for users to view grants: "all grants" and "my grants" (which are accessible via the nav bar). All users will be able to see all the grants in the "all grants" page, but "my grants" will only display the grants that user is the BCAN POC of. The goal of this ticket is to make the "my grants" page show only the grants that have the BCAN POC equal to the email of the current user.
Success Criteria:
- Add route in MainPage.tsx to navigate to "My Grants" page
- Implement the page (should be VERY similar to GrantPage.tsx, but with the addition of a user email as a prop)
- Check the BCAN POC of the grants and compare the email to the current user email, which should be in the user store, to filter it.
Notes:
- If a user creates a new grant on the "My Grants" page and they are the BCAN POC, the page content should show the new grant after its creation.
Metadata
Metadata
Assignees
Labels
No labels