fix: Close and Reopen buttons dissapear after saving changes (#46048)
* fix: Close and Reopen buttons dissapear after saving changes * style: linter issue --------- Co-authored-by: Nabin Hait <nabinhait@gmail.com>
This commit is contained in:
@@ -15,7 +15,9 @@ frappe.ui.form.on("Issue", {
|
||||
}
|
||||
}
|
||||
);
|
||||
},
|
||||
|
||||
refresh: function (frm) {
|
||||
// buttons
|
||||
if (frm.doc.status !== "Closed") {
|
||||
frm.add_custom_button(__("Close"), function () {
|
||||
|
||||
Reference in New Issue
Block a user