Merge pull request #13647 from resilient-tech/fix-capure

fix: removed red indicator from alert
This commit is contained in:
mergify[bot] 2021-07-05 07:31:49 +00:00 committed by GitHub
commit bb9f73b8f6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -116,10 +116,7 @@ frappe.ui.Capture = class {
})
.catch(err => {
if (this.options.error) {
const alert = `<span class="indicator red"/> ${
frappe.ui.Capture.ERR_MESSAGE
}`;
frappe.show_alert(alert, 3);
frappe.show_alert(frappe.ui.Capture.ERR_MESSAGE, 3);
}
throw err;