diff --git a/apps/x/apps/renderer/src/components/sidebar-content.tsx b/apps/x/apps/renderer/src/components/sidebar-content.tsx index 130a6107..1baf301e 100644 --- a/apps/x/apps/renderer/src/components/sidebar-content.tsx +++ b/apps/x/apps/renderer/src/components/sidebar-content.tsx @@ -1039,7 +1039,13 @@ function Tree({ onSelect(item.path, item.kind)} + onClick={(e) => { + if (e.metaKey && actions.onOpenInNewTab) { + actions.onOpenInNewTab(item.path) + } else { + onSelect(item.path, item.kind) + } + }} >
{item.name} @@ -1185,7 +1191,13 @@ function TasksSection({ actions?.onSelectRun(run.id)} + onClick={(e) => { + if (e.metaKey && actions?.onOpenInNewTab) { + actions.onOpenInNewTab(run.id) + } else { + actions?.onSelectRun(run.id) + } + }} >
{processingRunIds?.has(run.id) ? (