* Optimize code for task #58288.

This commit is contained in:
liumengyi
2022-06-23 09:39:29 +08:00
parent 36712610f3
commit c26c9dc110
7 changed files with 7 additions and 8 deletions
+1 -1
View File
@@ -1747,7 +1747,7 @@ class execution extends control
$this->view->teamMembers = $this->execution->getTeamMembers($executionID);
if($this->config->systemMode == 'new') $this->view->allProjects = $this->project->getPairsByModel($project->model, 0, 'noclosed', $project->id);
$this->view->laneCount = $this->kanban->getLaneCount($executionID, $execution->model);
$this->view->laneCount = $this->kanban->getLaneCount($executionID, $execution->type);
$this->view->heightType = $execution->displayCards > 2 ? 'custom' : 'auto';
$this->view->displayCards = $execution->displayCards ? $execution->displayCards : '';