* Fix bugs of devops.

This commit is contained in:
zhaoke
2023-08-08 14:38:19 +08:00
parent 25eb67ac41
commit 17f4d37cfc
15 changed files with 79 additions and 17 deletions
+2 -1
View File
@@ -55,8 +55,9 @@ class space extends control
$pipelines = $this->loadModel('pipeline')->getList('', 'id_desc');
$maxID = 0;
if(!empty($instances)) $maxID = max(array_keys($instances));
foreach($pipelines as $pipeline)
foreach($pipelines as $key => $pipeline)
{
if($pipeline->createdBy == 'system') unset($pipelines[$key]);
$pipeline->createdAt = $pipeline->createdDate;
$pipeline->appName = ucfirst($pipeline->type);
$pipeline->status = '';