* Adjust the code.

This commit is contained in:
hufangzhou
2021-03-11 14:01:57 +08:00
parent fc9ae73dbf
commit 3ce03aa442
+1 -1
View File
@@ -35,7 +35,7 @@
{
echo html::a($this->createLink('testcase', 'browse', "productid=$productID&branch=$branch&browseType=$menuType"), "<span class='text'>{$menuItem->text}</span>", '', "class='btn btn-link' id='{$menuType}Tab'");
}
elseif($hasBrowsePriv and $menuType == 'suite')
elseif($hasBrowsePriv and $menuType == 'suite' and $lang->navGroup->testcase == 'qa')
{
$currentSuiteID = isset($suiteID) ? (int)$suiteID : 0;
$currentSuite = zget($suiteList, $currentSuiteID, '');