feat(ux): add View in Website button in LMS Course

This commit is contained in:
Hussain Nagaria
2023-01-03 16:52:50 +05:30
parent 37e8c3ab84
commit a0e281fb30

View File

@@ -27,4 +27,7 @@ frappe.ui.form.on("LMS Course", {
};
});
},
refresh: (frm) => {
frm.add_web_link(`/courses/${frm.doc.name}`, "View in Website");
},
});