* Finish task#36038.

This commit is contained in:
leiyong
2021-02-23 15:01:34 +08:00
parent 20075135ab
commit 9ae184c762
2 changed files with 5 additions and 1 deletions
+1
View File
@@ -2295,6 +2295,7 @@ EOD;
public static function setMainMenuByGroup($group, $moduleName, $methodName)
{
global $lang;
global $config;
if($group == 'my')
{
$lang->menu = $lang->my->menu;
+4 -1
View File
@@ -79,7 +79,10 @@
{
return 'system';
}
if(['caselib', 'testreport', 'testsuite', 'testtask', 'testcase', 'bug', 'qa'].includes(moduleName))
{
return link.prj ? 'project' : 'qa';
}
if(moduleName === 'report')
{
if(['usereport', 'editreport', 'deletereport', 'custom'].includes(methodLowerCase) && link.params.from)