feat: dashboard web templates

This commit is contained in:
Jannat Patel
2021-10-21 12:53:36 +05:30
parent 5ae5bab76b
commit bb62f626fd
10 changed files with 174 additions and 102 deletions

View File

@@ -123,7 +123,8 @@ class CustomUser(User):
for map in mapping:
if frappe.db.get_value("LMS Course", map.course, "is_published"):
mentored_courses.append(map)
course = frappe.get_doc("LMS Course", map.course)
mentored_courses.append(course)
return mentored_courses