* Remove Kanban when creating the execution document library.

This commit is contained in:
tianshujie
2023-04-07 09:55:44 +08:00
parent 7b1a0fb936
commit 90caff0be0
+1 -1
View File
@@ -163,10 +163,10 @@ class doc extends control
}
}
if($type == 'execution') $objects = $this->execution->getPairs(0, 'all', 'multiple,leaf,noprefix');
if($type == 'execution')
{
$objects = $this->execution->getPairs(0, 'sprint,stage', 'multiple,leaf,noprefix');
$execution = $this->execution->getByID($objectID);
if($execution->type == 'stage') $this->lang->doc->execution = str_replace($this->lang->executionCommon, $this->lang->project->stage, $this->lang->doc->execution);
}