InfoCommons / cic

Apache License 2.0
0 stars 0 forks source link

Person detail -- test for organization #166

Open ryscher opened 2 years ago

ryscher commented 2 years ago

On the person detail page, I tried to add an if statement that would only display the organization(s) when present. Unfortunately, I wasn't able to determine how to test for this. When I print person.affiliations, I see is has the value api.Organizations.None, but I don't know how to test for this, as it does not act like the normal None.