CDLUC3 / dmsp_aws_prototype

Sceptre CloudFormation templates for DMPHub v2
MIT License
1 stars 0 forks source link

made small change in the way we check for affiliation_id and whether … #129

Closed jupiter007 closed 2 months ago

jupiter007 commented 2 months ago

This bug fix is to resolve an issue filed under dmptool, #575.

Users clicking on the DMP ID links in the Uploads table were seeing a blank page. This is because there were no affiliation ids for many of the DMP IDs, and we needed to update the way we check for whether the affiliation id exists or not before trying to use it to assemble a link url.

jupiter007 commented 2 months ago

@briri It seemed that currently org is returned as null. If you think it will returned as either null or undefined I can make the update to check for both, or just do a check for if(org){