style: linting fix

This commit is contained in:
Shivam Mishra 2019-11-26 12:00:37 +05:30
parent 1e9de53483
commit 1c1b5aa4e7

View file

@ -103,7 +103,7 @@ export default class WebForm extends frappe.ui.FieldGroup {
// validation hack: get_values will check for missing data
let isvalid = super.get_values(this.allow_incomplete);
if(!isvalid) return
if (!isvalid) return;
if (window.saving) return;
let for_payment = Boolean(this.accept_payment && !this.doc.paid);