From 20c94a5d32582fd5b682e7ffc0b2b27761de1da0 Mon Sep 17 00:00:00 2001 From: Jannat Patel Date: Thu, 23 Jun 2022 12:26:31 +0530 Subject: [PATCH] fix: navbar child redirection issue --- frappe/templates/includes/navbar/navbar_items.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/frappe/templates/includes/navbar/navbar_items.html b/frappe/templates/includes/navbar/navbar_items.html index 309027be09..9fbb22eeaa 100644 --- a/frappe/templates/includes/navbar/navbar_items.html +++ b/frappe/templates/includes/navbar/navbar_items.html @@ -32,9 +32,10 @@ {% else %} -{% if parent %} {% set url = item.url or '' %} {% set url = url if url.startswith('#') else url | abs_url %} + +{% if parent %}