uc-cdis / data-portal

Windmill: data portal for metadata submission and query
Apache License 2.0
27 stars 44 forks source link

Feat/current team project validation #1456

Closed jarvisraymond-uchicago closed 10 months ago

jarvisraymond-uchicago commented 10 months ago

Jira Ticket: VADC-780

Updates the TeamProjectHeader to query for the current valid team projects and then validate the user's current stored team project. If the stored team project is not valid, the stored value is removed and they are redirected to the analysis app to select a new team project.

This can be tested locally by setting an invalid project name in the browser console: localStorage.setItem('teamProject', '/bad_name'); and then reloading the page when on the OHDSI, GWAS or Results app.

output

Storybooks and unit tests are update accordingly. output

New Features