refactor: renamed app to school
This commit is contained in:
6
school/public/js/profile.js
Normal file
6
school/public/js/profile.js
Normal file
@@ -0,0 +1,6 @@
|
||||
frappe.ready(() => {
|
||||
if (frappe.session.user == "Guest") {
|
||||
var link_array = $('.nav-link').filter((i, elem) => $(elem).text().trim() === "My Profile");
|
||||
link_array.length && $(link_array[0]).addClass("hide");
|
||||
}
|
||||
})
|
||||
Reference in New Issue
Block a user