fix: user profile not loading

fix issue caused during implementation of esbuild system
This commit is contained in:
Chinmay Kulkarni 2021-05-23 23:30:01 +05:30 committed by GitHub
parent b5b8810945
commit 3e44744a37
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,6 +1,6 @@
frappe.pages['user-profile'].on_page_load = function (wrapper) {
frappe.require('assets/js/user_profile_controller.min.js', () => {
frappe.require('user_profile_controller.bundle.js', () => {
let user_profile = new frappe.ui.UserProfile(wrapper);
user_profile.show();
});
};
};