21448: removed dividers from overflow menuArvados-DCO-1.1-Signed-off-by: Lisa Knox...
[arvados.git] / services / workbench2 / src / components / multiselect-toolbar / MultiselectToolbar.tsx
index cf7763b19c2314f280e8e75d0fee059ee690e690..41d25bb6f828a31e94ad9b07f49f48e0ef659952 100644 (file)
@@ -133,7 +133,7 @@ export const MultiselectToolbar = connect(
                         <IntersectionObserverWrapper menuLength={actions.length}>
                             {actions.map((action, i) =>{
                                 const { hasAlts, useAlts, name, altName, icon, altIcon } = action;
-                            return action.name === ContextMenuActionNames.DIVIDER ? (action.component && <action.component />)
+                            return action.name === ContextMenuActionNames.DIVIDER ? (action.component && <action.component data-targetid={name} key={i} />)
                             : hasAlts ? (
                                 <Tooltip
                                     className={classes.button}