diff --git a/themes/edx.org/lms/templates/dashboard/_dashboard_course_resume.html b/themes/edx.org/lms/templates/dashboard/_dashboard_course_resume.html
index 5329d60b26..7531fed65f 100644
--- a/themes/edx.org/lms/templates/dashboard/_dashboard_course_resume.html
+++ b/themes/edx.org/lms/templates/dashboard/_dashboard_course_resume.html
@@ -3,6 +3,8 @@
<%!
import six
from django.utils.translation import ugettext as _
+
+MICROBACHELORS_SLUG = 'microbachelors'
%>
% if resume_button_url != '':
@@ -11,7 +13,7 @@ from django.utils.translation import ugettext as _
show_coaching_consent_form = plugins.get("coaching", {}).get("show_coaching_consent_form")
if related_programs and account_mfe_url != '' and show_coaching_consent_form:
for program in related_programs:
- if program.get('type') == 'MicroBachelors':
+ if program.get('type_attrs', {}).get('slug') == MICROBACHELORS_SLUG:
resume_button_url = "%s/coaching_consent?next=%s" % (account_mfe_url, getattr(settings, 'LMS_ROOT_URL', '') + resume_button_url)
%>