fix: Timelime compose email

This commit is contained in:
Suraj Shetty 2020-08-26 00:55:45 +05:30
parent 9af683090a
commit 8cdc5518bd

View file

@ -32,7 +32,7 @@ frappe.ui.form.NewTimeline = class {
}
setup_timeline_actions() {
this.add_action_button(__('New Email'), this.compose_mail.bind(this));
this.add_action_button(__('New Email'), () => this.compose_mail());
}
add_action_button(label, action) {