File tree Expand file tree Collapse file tree 1 file changed +8
-12
lines changed
client/components/ManageTestQueue Expand file tree Collapse file tree 1 file changed +8
-12
lines changed Original file line number Diff line number Diff line change @@ -56,24 +56,20 @@ export const useAddTestPlansData = isOpen => {
5656
5757 if ( mainQueryData . testPlanVersions ) {
5858 mainQueryData . testPlanVersions . forEach ( version => {
59- if ( version . testPlanReports && version . testPlanReports . length > 0 ) {
60- const testPlanDirectory = version . testPlan ?. directory ;
61- if ( testPlanDirectory ) {
62- allTestPlanVersions . push (
63- normalizeVersion ( version , testPlanDirectory )
64- ) ;
65- }
59+ const testPlanDirectory = version . testPlan ?. directory ;
60+ if ( testPlanDirectory ) {
61+ allTestPlanVersions . push (
62+ normalizeVersion ( version , testPlanDirectory )
63+ ) ;
6664 }
6765 } ) ;
6866 } else if ( mainQueryData . testPlans ) {
6967 mainQueryData . testPlans . forEach ( testPlan => {
7068 const versions = testPlan . testPlanVersions || [ ] ;
7169 versions . forEach ( version => {
72- if ( version . testPlanReports && version . testPlanReports . length > 0 ) {
73- allTestPlanVersions . push (
74- normalizeVersion ( version , testPlan . directory )
75- ) ;
76- }
70+ allTestPlanVersions . push (
71+ normalizeVersion ( version , testPlan . directory )
72+ ) ;
7773 } ) ;
7874 } ) ;
7975 }
You can’t perform that action at this time.
0 commit comments