From f5ed96ad165448e4a637d5d0af3a3f4b15d9cf49 Mon Sep 17 00:00:00 2001 From: Bijin A B Date: Sat, 27 Dec 2025 23:44:56 +0530 Subject: [PATCH] chore: reorder collection item menu option info (#6524) --- .../Collection/CollectionItem/index.js | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/packages/bruno-app/src/components/Sidebar/Collections/Collection/CollectionItem/index.js b/packages/bruno-app/src/components/Sidebar/Collections/Collection/CollectionItem/index.js index 3ddbe96e4..8ba2861ff 100644 --- a/packages/bruno-app/src/components/Sidebar/Collections/Collection/CollectionItem/index.js +++ b/packages/bruno-app/src/components/Sidebar/Collections/Collection/CollectionItem/index.js @@ -290,14 +290,7 @@ const CollectionItem = ({ item, collectionUid, collectionPathname, searchText }) // Build menu items for MenuDropdown const buildMenuItems = () => { - const items = [ - { - id: 'info', - leftSection: IconInfoCircle, - label: 'Info', - onClick: () => setItemInfoModalOpen(true) - } - ]; + const items = []; if (isFolder) { items.push( @@ -391,6 +384,13 @@ const CollectionItem = ({ item, collectionUid, collectionPathname, searchText }) items.push({ id: 'separator-1', type: 'divider' }); + items.push({ + id: 'info', + leftSection: IconInfoCircle, + label: 'Info', + onClick: () => setItemInfoModalOpen(true) + }); + if (isFolder) { items.push( {