fix(测试计划): 修复测试计划组不存在计划不允许生成自定义报告
This commit is contained in:
parent
2829182ba3
commit
0480e75c43
|
@ -768,7 +768,9 @@
|
||||||
: archiveActions;
|
: archiveActions;
|
||||||
|
|
||||||
const reportAction =
|
const reportAction =
|
||||||
planStatus !== 'ARCHIVED' && record.type === testPlanTypeEnum.GROUP ? [...configReportActions] : [];
|
planStatus !== 'ARCHIVED' && record.type === testPlanTypeEnum.GROUP && record.childrenCount
|
||||||
|
? [...configReportActions]
|
||||||
|
: [];
|
||||||
|
|
||||||
const executeHistoryAction =
|
const executeHistoryAction =
|
||||||
record.type === testPlanTypeEnum.GROUP
|
record.type === testPlanTypeEnum.GROUP
|
||||||
|
|
Loading…
Reference in New Issue