From 99102c72a5b09d9c014249b4aea716e56f27c168 Mon Sep 17 00:00:00 2001 From: Saqib Ansari Date: Fri, 6 Feb 2026 15:54:34 +0530 Subject: [PATCH] fix(menu): avoid empty space --- frappe/public/js/frappe/ui/menu.js | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/frappe/public/js/frappe/ui/menu.js b/frappe/public/js/frappe/ui/menu.js index 1b84ffa725..d918f2740b 100644 --- a/frappe/public/js/frappe/ui/menu.js +++ b/frappe/public/js/frappe/ui/menu.js @@ -103,10 +103,13 @@ frappe.ui.menu = class ContextMenu { ${iconMarkup} ${__(item.label)} - - + ${ + item.items && item.items.length + ? `` + : "" + } `); if (!item.url) {