fix: frappe linter
diff --git a/erpnext/setup/doctype/email_digest/email_digest.js b/erpnext/setup/doctype/email_digest/email_digest.js
index 84e2d0d..2e415af 100644
--- a/erpnext/setup/doctype/email_digest/email_digest.js
+++ b/erpnext/setup/doctype/email_digest/email_digest.js
@@ -11,8 +11,8 @@
name: frm.doc.name
},
callback: function(r) {
- var d = new frappe.ui.Dialog({
- title: __('Email Digest: ') + frm.doc.name,
+ let d = new frappe.ui.Dialog({
+ title: __('Email Digest: {0}', [frm.doc.name]),
width: 800
});
$(d.body).html(r.message);