* Check locate if api.

This commit is contained in:
songchenxuan
2022-03-29 11:17:08 +08:00
parent aa0e80bf2d
commit 310a946e0a
+1 -1
View File
@@ -3290,7 +3290,7 @@ class execution extends control
$this->view->project = $project;
$this->project->setMenu($projectID);
if(!empty($project->model) and $project->model == 'kanban') return $this->locate($this->createLink('project', 'index', "projectID=$projectID"));
if(!empty($project->model) and $project->model == 'kanban' and !(defined('RUN_MODE') and RUN_MODE == 'api')) return $this->locate($this->createLink('project', 'index', "projectID=$projectID"));
}
if($this->app->viewType == 'mhtml')