This commit is contained in:
tianshujie98
2021-08-01 10:36:32 +08:00
parent 9511cef076
commit a69e672080
+1 -1
View File
@@ -165,7 +165,7 @@ 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 $type == 'custom') unset($libTypeList['execution']);
if(empty($executions) or ($type == 'custom' and $this->config->systemMode == 'new')) unset($libTypeList['execution']);
$this->view->groups = $this->loadModel('group')->getPairs();
$this->view->users = $this->user->getPairs('nocode');