Merge pull request #13647 from resilient-tech/fix-capure
fix: removed red indicator from alert
This commit is contained in:
commit
bb9f73b8f6
1 changed files with 1 additions and 4 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue