griffithlab / civic-client

Web client for CIViC: Clinical Interpretations of Variants in Cancer
MIT License
50 stars 28 forks source link

expired conflict of interest display shows incorrect statement by default #1524

Closed jmcmichael closed 3 years ago

jmcmichael commented 3 years ago

If a COI expires, the notice on the user's profile page shows "I do have a conflict of interest" for their Statement. It should instead display their previous COI. COIs may have a state of expired, valid, missing, and it appears like the logic doesn't account for all of those.

Screen Shot 2020-10-22 at 14 43 04