* [refac bug #57598] not show create testcase btn.

This commit is contained in:
wangyidong
2024-12-04 10:58:00 +08:00
committed by 孙广明
parent f07f93c77a
commit cc5ee688fd
+1 -1
View File
@@ -182,7 +182,7 @@ div
set::disabled(!$this->story->isClickable($story, 'edit')),
set('data-app', $app->tab)
) : null,
hasPriv('testcase', 'create') ? btn
$story->isParent == '0' && hasPriv('testcase', 'create') ? btn
(
setClass('text-primary ml-2'),
set::icon('sitemap'),