diff --git a/components/system/Dialogs/Run/index.tsx b/components/system/Dialogs/Run/index.tsx index 84c8fc0a..71a8b5c0 100644 --- a/components/system/Dialogs/Run/index.tsx +++ b/components/system/Dialogs/Run/index.tsx @@ -169,12 +169,15 @@ const Run: FC = ({ id }) => { ([processName]) => processName.toLowerCase() === ( - resourceAliasMap[resourcePath.toLowerCase()] || resourcePath + resourceAliasMap[resourcePid.toLowerCase()] || resourcePid ).toLowerCase() ) || []; if (pid) { - open(pid); + open( + pid, + resourcePath === resourcePid ? undefined : { url: resourcePath } + ); addRunHistoryEntry(); } else if (utilCommandMap[resource.toLowerCase()]) { utilCommandMap[resource.toLowerCase()]();