fix: remove unwanted conditional check
This commit is contained in:
parent
6d2e1e5781
commit
631efb004e
1 changed files with 2 additions and 2 deletions
|
|
@ -1017,8 +1017,8 @@ frappe.views.CommunicationComposer = class {
|
|||
on_use_html_toggle() {
|
||||
const use_html = this.dialog.get_value("use_html");
|
||||
|
||||
this.dialog.set_df_property("content", "hidden", use_html ? 1 : 0);
|
||||
this.dialog.set_df_property("content_html", "hidden", !use_html ? 1 : 0);
|
||||
this.dialog.set_df_property("content", "hidden", use_html);
|
||||
this.dialog.set_df_property("content_html", "hidden", !use_html);
|
||||
|
||||
this.dialog.set_value("email_template", "");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue