Skip to content

Commit

Permalink
fix: redundant fetching of Interviewers in Interview (backport #2441) (
Browse files Browse the repository at this point in the history
…#2452)

Co-authored-by: Rucha Mahabal <[email protected]>
Co-authored-by: Sherin KR <[email protected]>
  • Loading branch information
3 people authored Nov 26, 2024
1 parent 32b1e3e commit b5b6c63
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions hrms/hr/doctype/interview/interview.js
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,7 @@ frappe.ui.form.on("Interview", {
interview_round: frm.doc.interview_round || "",
},
callback: function (r) {
frm.clear_table("interview_details");
r.message.forEach((interviewer) =>
frm.add_child("interview_details", interviewer),
);
Expand Down

0 comments on commit b5b6c63

Please sign in to comment.