Skip to content

Commit

Permalink
fix: alignment issue fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Nandhinidevi123 authored Nov 12, 2024
1 parent 9ae27a6 commit 54557db
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion hrms/hr/doctype/training_result/training_result.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,11 @@ frappe.ui.form.on("Training Result", {
},

training_event: function (frm) {
if (frm.doc.training_event && !frm.doc.docstatus && (!frm.doc.employees || frm.doc.employees.length === 0)) {
if (
+ frm.doc.training_event &&
+ !frm.doc.docstatus &&
+ (!frm.doc.employees || frm.doc.employees.length === 0)
+ ) {
frappe.call({
method: "hrms.hr.doctype.training_result.training_result.get_employees",
args: {
Expand Down

0 comments on commit 54557db

Please sign in to comment.