From e33f89e4e6eae83c21d515bc3e7bf70db730408d Mon Sep 17 00:00:00 2001 From: Suraj Shetty Date: Wed, 1 May 2019 15:57:35 +0530 Subject: [PATCH] fix: Convert page route to title case --- frappe/public/js/frappe/misc/utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frappe/public/js/frappe/misc/utils.js b/frappe/public/js/frappe/misc/utils.js index 47ca770875..705b0c82cb 100644 --- a/frappe/public/js/frappe/misc/utils.js +++ b/frappe/public/js/frappe/misc/utils.js @@ -658,7 +658,7 @@ Object.assign(frappe.utils, { if (route[0] === 'modules') { return __('{0} Modules', [route[1]]); } - return __(route[0]); + return __(frappe.utils.to_title_case(route[0], true)); }, report_column_total: function(values, column, type) { if (column.column.fieldtype == "Percent" || type === "mean") {