refactor: remove debugging statement

This commit is contained in:
Ejaaz Khan 2025-09-22 15:05:27 +05:30 committed by GitHub
parent 42c104fa76
commit ca67a12e0f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -431,7 +431,6 @@ frappe.ui.form.on("User Role Profile", {
},
role_profiles_remove: function (frm) {
if (frm.doc.role_profiles.length == 0) {
console.log(frm.doc.role_profiles.length == 0);
frm.roles_editor.disable = 0;
frm.roles_editor.show();
$(".deselect-all, .select-all").prop("disabled", false);