This commit is contained in:
liumengyi
2024-01-03 10:16:47 +08:00
parent 8671c02db8
commit 95d5f803cf
2 changed files with 10 additions and 4 deletions
+3 -3
View File
@@ -1046,10 +1046,10 @@ class blockZen extends block
$executions = $this->loadModel('execution')->getOrderedExecutions($projectID, $status, $count, 'skipparent');
if(empty($executions))
{
$this->view->chartData = array();
$this->view->chartData = array('labels' => array(), 'baseLine' => array(), 'burnLine' => array());
$this->view->executions = array();
$this->view->projects = array();
$this->view->currentProjectID = 9;
$this->view->projects = $this->loadModel('project')->getPairs();
$this->view->currentProjectID = $projectID;
return;
}