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.
@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){
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.