From 9140361188ed4620575b3ad8bebfdf9abaa80167 Mon Sep 17 00:00:00 2001 From: walstanb Date: Mon, 5 Jul 2021 12:08:24 +0530 Subject: [PATCH] fix: removed red indicator from alert --- frappe/public/js/frappe/ui/capture.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/frappe/public/js/frappe/ui/capture.js b/frappe/public/js/frappe/ui/capture.js index 676c997b31..d408fadb33 100644 --- a/frappe/public/js/frappe/ui/capture.js +++ b/frappe/public/js/frappe/ui/capture.js @@ -116,10 +116,7 @@ frappe.ui.Capture = class { }) .catch(err => { if (this.options.error) { - const alert = ` ${ - frappe.ui.Capture.ERR_MESSAGE - }`; - frappe.show_alert(alert, 3); + frappe.show_alert(frappe.ui.Capture.ERR_MESSAGE, 3); } throw err;