When the target cohort of a pathway analysis has 0 patients, the pathway generation results should contain empty tables
Actual behavior
The tables are not shown properly because of the error in the browser console:
Message: Cannot read properties of undefined (reading 'targetCohortCount')
at bundle.js?build=219:1:6455727
at Array.map (<anonymous>)
at PathwayTableview.value (bundle.js?build=219:1:6455579)
at bundle.js?build=219:1:6455268
at Function.Uc (bundle.js?build=219:1:30384)
at Function.Vc (bundle.js?build=219:1:30155)
at Function.U (bundle.js?build=219:1:29975)
at Function.ua (bundle.js?build=219:1:30986)
at Function.Y (bundle.js?build=219:1:22610)
at Function.yc (bundle.js?build=219:1:29655)
Expected behavior
When the target cohort of a pathway analysis has 0 patients, the pathway generation results should contain empty tables
Actual behavior
The tables are not shown properly because of the error in the browser console:
Steps to reproduce behavior
Connected with #2832