* Adjust task check repo logic.

This commit is contained in:
caoyanyi
2024-04-09 16:12:51 +08:00
parent 12a90e526e
commit 6c84ee47b7
3 changed files with 27 additions and 5 deletions
+1
View File
@@ -390,6 +390,7 @@ class task extends control
$this->view->modulePath = $this->tree->getParents($task->module);
$this->view->linkMRTitles = $this->loadModel('mr')->getLinkedMRPairs($taskID, 'task');
$this->view->linkCommits = $this->loadModel('repo')->getCommitsByObject($taskID, 'task');
$this->view->hasGitRepo = $this->taskZen->checkGitRepo($execution->id);
$this->display();
}