This commit is contained in:
caoyanyi
2022-03-23 13:11:39 +08:00
parent 1825eeb881
commit 19e7095e6c
+5 -1
View File
@@ -1980,7 +1980,11 @@ class execution extends control
$type = $this->config->vision == 'lite' ? 'kanban' : 'stage,sprint,kanban';
if(empty($execution) || strpos($type, $execution->type) === false) return print(js::error($this->lang->notFound) . js::locate('back'));
if($execution->type == 'kanban') return $this->locate(inlink('kanban', "executionID=$executionID"));
if($execution->type == 'kanban')
{
if(defined('RUN_MODE') && RUN_MODE == 'api') return print($this->fetch('execution', 'kanban', "executionID=$executionID"));
return $this->locate(inlink('kanban', "executionID=$executionID"));
}
$this->app->loadLang('program');