Merge branch '21128-toolbar-context-menu'
[arvados.git] / services / workbench2 / src / views-components / data-explorer / renderers.tsx
index 0ebe96ef3acb56f0ea29b3fdbdcdf3d40276b738..56926b513db459dbe818130828761c514ee6fbe9 100644 (file)
@@ -68,7 +68,10 @@ const renderName = (dispatch: Dispatch, item: GroupContentsResource) => {
                 <Typography
                     color="primary"
                     style={{ width: "auto", cursor: "pointer" }}
-                    onClick={() => dispatch<any>(navFunc(item.uuid))}
+                    onClick={(ev) => {
+                        ev.stopPropagation()
+                        dispatch<any>(navFunc(item.uuid))
+                    }}
                 >
                     {item.kind === ResourceKind.PROJECT || item.kind === ResourceKind.COLLECTION ? <IllegalNamingWarning name={item.name} /> : null}
                     {item.name}