Don't show certificate on profile if no active config.
Stop showing certificate information on profile page if there is no active certificate configuration. PROD-1200
This commit is contained in:
@@ -1136,7 +1136,7 @@ def _downloadable_certificate_message(course, cert_downloadable_status):
|
||||
course_id=course.id, uuid=cert_downloadable_status['uuid']
|
||||
)
|
||||
)
|
||||
elif not cert_downloadable_status['download_url']:
|
||||
elif not cert_downloadable_status['is_pdf_certificate']:
|
||||
return GENERATING_CERT_DATA
|
||||
|
||||
return _downloadable_cert_data(download_url=cert_downloadable_status['download_url'])
|
||||
|
||||
Reference in New Issue
Block a user