fix: apply as mentor even if email template not found

This commit is contained in:
pateljannat
2021-04-21 13:17:07 +05:30
parent 87d67c55e0
commit 86bd708c34
3 changed files with 17 additions and 3 deletions

View File

@@ -3,7 +3,7 @@ frappe.ready(() => {
frappe.call({
'method': 'community.lms.doctype.lms_mentor_request.lms_mentor_request.has_requested',
'args': {
course: $(".course-title").attr("data-course"),
course: decodeURIComponent($(".course-title").attr("data-course")),
},
'callback': (data) => {
if (data.message) {