pull/3751/head
yann300 2 years ago
parent 3268c74d8c
commit 9915d980f7
  1. 3
      libs/remix-ui/workspace/src/lib/components/file-explorer-context-menu.tsx

@ -80,8 +80,9 @@ export const FileExplorerContextMenu = (props: FileExplorerContextMenuProps) =>
return acc; return acc;
}, []) }, [])
console.log(groupedActions) console.log(groupedActions)
let key = -1
return groupedActions.map((groupItem, groupIndex) => groupItem.map((item, index) => { return groupedActions.map((groupItem, groupIndex) => groupItem.map((item, index) => {
const key = groupIndex*index key++
const className = `remixui_liitem ${group !== item.group ? 'border-top': ''}` const className = `remixui_liitem ${group !== item.group ? 'border-top': ''}`
group = item.group group = item.group
if(item.name === "Upload File"){ if(item.name === "Upload File"){

Loading…
Cancel
Save