21128: Merge branch 'main' into 21128-toolbar-context-menu
[arvados-workbench2.git] / src / views-components / data-explorer / renderers.tsx
index 2cbf038abb006bdc69e84b89b1ff21dae147a4c5..059aad4344fad0f49d55349f79e076a3f92d92e9 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}