Merged PR 205: Add new AddingBehavior ReplaceParent + Allow AddingBehavior override by response + fix double key in context menu + Rename node-http.js to http.js

This commit is contained in:
Eric Nguyen 2022-10-03 14:48:45 +00:00
parent 34c00d267c
commit 38a6919192
7 changed files with 151 additions and 379 deletions

View file

@ -88,7 +88,7 @@ export function Menu(props: IMenuProps): JSX.Element {
actions.forEach((action, index) => {
children.push(<MenuItem
key={`contextmenu-item-${count}`}
key={`contextmenu-item-${count}-${index}`}
className="contextmenu-item"
text={action.text}
onClick={() => action.action(target)} />);