icgc-argo / dac-ui

Development of the ICGC ARGO Data Access Control UI
https://daco.icgc-argo.org/
GNU Affero General Public License v3.0
0 stars 0 forks source link

🐛 680 - fix approved renewal banner #686

Closed anncatton closed 1 year ago

anncatton commented 1 year ago

Corrects banner displayed for a renewal application that has reached the renewal window and has a renewalAppId attached Also removes FE calculation for a source app's renewal period end date, and uses the calculated field added in https://github.com/icgc-argo/dac-api/pull/420 . This fixes inconsistencies between the FE and BE renewal window, and removes the FE need to track the DAYS_POST_EXPIRY env var