* Add no data tips when look execution kanban.

This commit is contained in:
qiyu-xie
2021-07-14 09:31:50 +08:00
parent 73394d0435
commit 1f7e04e6f0
2 changed files with 9 additions and 1 deletions
+1 -1
View File
@@ -41,7 +41,7 @@ class execution extends control
$this->loadModel('project');
$this->executions = $this->execution->getPairs(0, 'all', 'nocode');
if(!in_array($this->methodName, array('computeburn', 'ajaxgetdropmenu')) and $this->app->openApp == 'execution')
if(!in_array($this->methodName, array('computeburn', 'ajaxgetdropmenu', 'executionkanban')) and $this->app->openApp == 'execution')
{
if(!$this->executions and $this->methodName != 'index' and $this->methodName != 'create' and $this->app->getViewType() != 'mhtml') $this->locate($this->createLink('execution', 'create'));
}