Add temporary mechanism for managing communities without dnd

This commit is contained in:
Michael Telatynski 2021-06-02 11:33:25 +01:00
parent 0b7d3f007a
commit bc3c759feb
6 changed files with 74 additions and 16 deletions

View file

@ -30,7 +30,7 @@ export default function DNDTagTile(props) {
const TagTileContextMenu = sdk.getComponent('context_menus.TagTileContextMenu');
contextMenu = (
<ContextMenu {...toRightOf(elementRect)} onFinished={closeMenu}>
<TagTileContextMenu tag={props.tag} onFinished={closeMenu} />
<TagTileContextMenu tag={props.tag} onFinished={closeMenu} index={props.index} />
</ContextMenu>
);
}