feat(ux): add View in Website button in LMS Course
This commit is contained in:
@@ -27,4 +27,7 @@ frappe.ui.form.on("LMS Course", {
|
|||||||
};
|
};
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
refresh: (frm) => {
|
||||||
|
frm.add_web_link(`/courses/${frm.doc.name}`, "View in Website");
|
||||||
|
},
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user