From 4ab6a34474cccf3194d89a3ec04be2d1072993ff Mon Sep 17 00:00:00 2001 From: "Nihantra C. Patel" <141945075+Nihantra-Patel@users.noreply.github.com> Date: Wed, 27 Mar 2024 11:07:03 +0530 Subject: [PATCH] fix: remove slashes from the report link in workspace card (#25593) --- frappe/public/js/frappe/utils/utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frappe/public/js/frappe/utils/utils.js b/frappe/public/js/frappe/utils/utils.js index fd4293332f..f015ad577f 100644 --- a/frappe/public/js/frappe/utils/utils.js +++ b/frappe/public/js/frappe/utils/utils.js @@ -1300,7 +1300,7 @@ Object.assign(frappe.utils, { if (item.is_query_report) { route = "query-report/" + item.name; } else if (!item.doctype) { - route = "/report/" + item.name; + route = "report/" + item.name; } else { route = frappe.router.slug(item.doctype) + "/view/report/" + item.name; }