This commit is contained in:
wangyuting
2022-11-21 06:08:46 +00:00
parent d9e22f5976
commit 05a652d5fe
+9 -2
View File
@@ -156,8 +156,15 @@ class doc extends control
/* Splice project name. */
foreach($executions as $executionID => $execution)
{
$executionPrefix = isset($projects[$execution->project]) ? $projects[$execution->project] . '/' : '';
$executions[$executionID] = $executionPrefix . $execution->name;
if($execution->multiple)
{
$executionPrefix = isset($projects[$execution->project]) ? $projects[$execution->project] . '/' : '';
$executions[$executionID] = $executionPrefix . $execution->name;
}
else
{
unset($executions[$executionID]);
}
}
/* Get the project that has permission to view. */