This commit is contained in:
tanghucheng
2023-01-04 15:29:05 +08:00
parent b56690bd77
commit 28eec1c4c3

View File

@@ -37,6 +37,7 @@ class qaModel extends model
if(!in_array($this->app->rawModule, $this->config->qa->noDropMenuModule)) $this->lang->switcherMenu = $this->product->getSwitcher($productID, $extra, $branch);
if($this->app->rawModule == 'product' and $this->app->rawMethod == 'showerrornone') $this->lang->switcherMenu = '';
if(!common::hasPriv('zahost', 'browse') and !common::hasPriv('zanode', 'browse')) unset($this->lang->qa->menu->automation);
common::setMenuVars('qa', $productID);
}