* Finish task #73241.

This commit is contained in:
tanghucheng
2022-10-26 09:03:24 +08:00
parent faa094ca72
commit cf00a736a1
2 changed files with 6 additions and 1 deletions
+3
View File
@@ -64,6 +64,9 @@ class executionModel extends model
public function setMenu($executionID, $buildID = 0, $extra = '')
{
$execution = $this->getByID($executionID);
if($execution->type == 'stage') unset($this->lang->execution->menu->settings['subMenu']->products);
if($execution and $execution->type == 'kanban')
{
global $lang;