* Task#41216.

This commit is contained in:
qiyu-xie
2021-08-12 18:13:55 +08:00
parent d326a7e842
commit 152d774391
3 changed files with 27 additions and 26 deletions
+3 -3
View File
@@ -168,9 +168,9 @@ class doc extends control
}
$libTypeList = $this->lang->doc->libTypeList;
if(empty($products)) unset($libTypeList['product']);
if(empty($projects)) unset($libTypeList['project']);
if(empty($executions) or ($this->config->systemMode == 'new' and $this->app->openApp == 'doc')) unset($libTypeList['execution']);
if(empty($products)) unset($libTypeList['product']);
if(empty($projects)) unset($libTypeList['project']);
if(empty($executions)) unset($libTypeList['execution']);
$this->view->groups = $this->loadModel('group')->getPairs();
$this->view->users = $this->user->getPairs('nocode');