Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add option to set default email recipients (#25555)
* feat: add option to set default email recipients * fix: don't crash if no events communication.js:206 Uncaught TypeError: Cannot read properties of undefined (reading 'events') at frappe.views.CommunicationComposer.get_default_recipients (communication.js:206:16) at frappe.views.CommunicationComposer.get_fields (communication.js:57:19) at frappe.views.CommunicationComposer.make (communication.js:25:17) at new frappe.views.CommunicationComposer (communication.js:16:8) at Object.primary_action (communication__list_js:34:3) at HTMLButtonElement.<anonymous> (list_view.js:1432:19) at HTMLButtonElement.dispatch (jquery.js:5135:27) at elemData.handle (jquery.js:4939:28) Signed-off-by: Akhil Narang <me@akhilnarang.dev> --------- Signed-off-by: Akhil Narang <me@akhilnarang.dev> Co-authored-by: Akhil Narang <me@akhilnarang.dev> (cherry picked from commit 4c85626) # Conflicts: # frappe/public/js/frappe/views/communication.js
- Loading branch information