21128: fixed unwanted rowselects on other operational clicks Arvados-DCO-1.1-Signed...
[arvados-workbench2.git] / src / views-components / data-explorer / renderers.tsx
index 257eacfb294bde6b6b06c2e2aeeb0abca5a5b77d..13f0a6d4513bfe24ab2e4e046334e87c2ac78d2e 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}