From 150b62df3ec7a076e39c1c9e840cea0ab9078450 Mon Sep 17 00:00:00 2001 From: Shivam Mishra Date: Tue, 16 Dec 2025 17:16:29 +0530 Subject: [PATCH] fix: sub menu click payload --- .../components/widgets/WootWriter/CopilotMenuBar.vue | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/app/javascript/dashboard/components/widgets/WootWriter/CopilotMenuBar.vue b/app/javascript/dashboard/components/widgets/WootWriter/CopilotMenuBar.vue index d91b5bd5c..22dc5d0d2 100644 --- a/app/javascript/dashboard/components/widgets/WootWriter/CopilotMenuBar.vue +++ b/app/javascript/dashboard/components/widgets/WootWriter/CopilotMenuBar.vue @@ -163,10 +163,7 @@ const handleMenuItemClick = item => { }; const handleSubMenuItemClick = (parentItem, subItem) => { - emit('executeCopilotAction', subItem.key, { - parentKey: parentItem.key, - tone: subItem.label.toLowerCase(), - }); + emit('executeCopilotAction', subItem.key); };