fix: mentor request flow and emails #30, #69, #70

This commit is contained in:
pateljannat
2021-05-05 15:45:20 +05:30
parent 370d3a321b
commit 8a242a69fb
7 changed files with 159 additions and 73 deletions

View File

@@ -6,7 +6,7 @@ frappe.ready(() => {
course: decodeURIComponent($("#course-title").attr("data-course")),
},
'callback': (data) => {
if (data.message) {
if (data.message > 0) {
$("#mentor-request").addClass("hide");
$("#already-applied").removeClass("hide")
}