* Set active item in testtask::browseUnits.

This commit is contained in:
liumengyi
2023-11-07 14:32:30 +08:00
parent 155b852e40
commit db929dd8a8
+1 -1
View File
@@ -25,7 +25,7 @@ if($canSwitch)
$url = createLink('testcase', 'browse', "productID={$product->id}&branch=&browseType=all&param=0&caseType={$type}");
}
$caseTypeItems[] = array('text' => $typeName ?: $lang->testcase->allType, 'url' => $url);
$caseTypeItems[] = array('text' => $typeName ?: $lang->testcase->allType, 'url' => $url, 'active' => $type == 'unit');
}
}