mirror of
https://github.com/usebruno/bruno.git
synced 2026-06-27 14:44:07 +00:00
chore: reorder collection item menu option info (#6524)
This commit is contained in:
@@ -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(
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user