style: fix formatting
This commit is contained in:
parent
c5e988dcf1
commit
7bfc8a9b87
3 changed files with 5 additions and 4 deletions
|
|
@ -29,7 +29,7 @@ frappe.ui.form.on("System Settings", "enable_two_factor_auth", function(frm) {
|
|||
});
|
||||
|
||||
frappe.ui.form.on("System Settings", "enable_prepared_report_auto_deletion", function(frm) {
|
||||
if(frm.doc.enable_prepared_report_auto_deletion){
|
||||
if (frm.doc.enable_prepared_report_auto_deletion) {
|
||||
if (!frm.doc.prepared_report_expiry_period) {
|
||||
frm.set_value('prepared_report_expiry_period', 30);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -185,8 +185,8 @@ frappe.ui.form.Toolbar = Class.extend({
|
|||
return this.page.add_dropdown(label);
|
||||
},
|
||||
set_indicator: function() {
|
||||
if(this.frm.save_disabled)
|
||||
return;
|
||||
// if(this.frm.save_disabled)
|
||||
// return;
|
||||
|
||||
var indicator = frappe.get_indicator(this.frm.doc);
|
||||
if(indicator) {
|
||||
|
|
|
|||
|
|
@ -680,7 +680,8 @@ frappe.views.QueryReport = class QueryReport extends frappe.views.BaseList {
|
|||
this.show_warning_or_generate_report();
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
let primary_action = this.primary_action_map[this.prepared_report_action];
|
||||
|
||||
if (!this.primary_button || this.primary_button.text() !== primary_action.label) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue