* Merge commit 28135d1985.

This commit is contained in:
songchenxuan
2023-11-08 09:59:17 +08:00
parent db4dca4465
commit 6fb788ebe5
+1 -1
View File
@@ -42,7 +42,7 @@ class execution extends control
if($this->app->upgrading || !isset($this->app->user)) return false;
$mode = $this->app->tab == 'execution' ? 'multiple' : '';
if(defined('RUN_MODE') and RUN_MODE == 'api') $mode = '';
if((defined('RUN_MODE') and RUN_MODE == 'api') or $this->viewType == 'json') $mode = '';
$this->executions = $this->execution->getPairs(0, 'all', "nocode,{$mode}");
$skipCreateStep = array('computeburn', 'ajaxgetdropmenu', 'executionkanban', 'ajaxgetteammembers', 'all', 'ajaxgetcopyprojectexecutions');