diff --git a/frappe/public/js/frappe/ui/toolbar/awesome_bar.js b/frappe/public/js/frappe/ui/toolbar/awesome_bar.js
index cd5a4615a3..3b5e00cbfe 100644
--- a/frappe/public/js/frappe/ui/toolbar/awesome_bar.js
+++ b/frappe/public/js/frappe/ui/toolbar/awesome_bar.js
@@ -29,16 +29,18 @@ frappe.search.AwesomeBar = class AwesomeBar {
};
},
item: function (item, term) {
- var d = this.get_item(item.value);
- var name = __(d.label || d.value);
- var html = "" + name + "";
+ const d = this.get_item(item.value);
+ const target = d.route ? frappe.router.make_url(d.route) : "#";
+ let html = `${__(d.label || d.value)}`;
+
if (d.description && d.value !== d.description) {
html +=
'
' + __(d.description) + "";
}
+
return $("