* Finish task #69016.

This commit is contained in:
liuruogu
2022-09-15 07:08:49 +00:00
parent 34d3ca587c
commit 39b1e8ae45
+6
View File
@@ -285,6 +285,12 @@ class tree extends control
}
}
if($this->app->tab == 'project' and strpos($viewType, 'doc') === false)
{
$project = $this->loadModel('project')->getByID($this->session->project);
if(empty($project->hasProduct)) $this->view->root->name = $project->name;
}
$parentModules = $this->tree->getParents($currentModuleID);
$this->view->title = $title;
$this->view->position = $position;