Merge pull request #25275 from surajshetty3416/fix-ctc

This commit is contained in:
Suraj Shetty 2024-03-07 17:03:43 +05:30 committed by GitHub
commit bbda60b62d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -507,7 +507,7 @@ frappe.Application = class Application {
frappe.set_route("Form", newdoc.doctype, newdoc.name);
frappe.dom.unfreeze();
});
res && res.fail(frappe.dom.unfreeze);
res && res.fail?.(frappe.dom.unfreeze);
});
}
} catch (e) {