@@ -85,14 +85,16 @@ export class RunsModel extends Observable {
8585 /**
8686 * Load runs overview data
8787 * @param {object } params the parameters for the model
88- * @param {string } [params.lhcPeriodName] the name of the LHC period to display
89- * @param {string } [params.panel] the key of the panel to display
88+ * @param {string } params.lhcPeriodName the name of the LHC period to display
89+ * @param {string } params.panel the key of the panel to display
90+ * @param {string } params.pdpBeamTypes the key of the panel to display
9091 * @return {void }
9192 */
92- loadPerLhcPeriodOverview ( { lhcPeriodName, panel } ) {
93+ loadPerLhcPeriodOverview ( { lhcPeriodName, panel, pdpBeamTypes } ) {
9394 this . _perLhcPeriodOverviewModel . tabbedPanelModel . currentPanelKey = panel ;
9495 if ( ! this . _perLhcPeriodOverviewModel . pagination . isInfiniteScrollEnabled ) {
9596 this . _perLhcPeriodOverviewModel . lhcPeriodName = lhcPeriodName ;
97+ this . _perLhcPeriodOverviewModel . pdpBeamTypes = pdpBeamTypes ;
9698 this . _perLhcPeriodOverviewModel . load ( ) ;
9799 }
98100 }
@@ -108,14 +110,14 @@ export class RunsModel extends Observable {
108110 /**
109111 * Load runs overview data
110112 * @param {object } params the parameters for the model
111- * @param {string } [ params.dataPassId] the id of the data pass to display
112- * @param {string } [ params.pdpBeamType] the beam type of the data pass to display
113+ * @param {string } params.dataPassId the id of the data pass to display
114+ * @param {string } params.pdpBeamTypes the beam types of the runs to display
113115 * @return {void }
114116 */
115- loadPerDataPassOverview ( { dataPassId, pdpBeamType } ) {
117+ loadPerDataPassOverview ( { dataPassId, pdpBeamTypes } ) {
116118 if ( ! this . _perDataPassOverviewModel . pagination . isInfiniteScrollEnabled ) {
117119 this . _perDataPassOverviewModel . dataPassId = parseInt ( dataPassId , 10 ) ;
118- this . _perDataPassOverviewModel . pdpBeamType = pdpBeamType ;
120+ this . _perDataPassOverviewModel . pdpBeamTypes = pdpBeamTypes ;
119121 this . _perDataPassOverviewModel . load ( ) ;
120122 }
121123 }
@@ -130,13 +132,15 @@ export class RunsModel extends Observable {
130132
131133 /**
132134 * Load runs overview per simulation pass data
133- * @param {object } root0 - The parameters for the model.
134- * @param {string } root0.simulationPassId - The ID of the simulation pass to load.
135+ * @param {object } params - The parameters for the model.
136+ * @param {string } params.simulationPassId - The ID of the simulation pass to load.
137+ * @param {string } params.pdpBeamTypes the beam types of the runs to display
135138 * @return {void }
136139 */
137- loadPerSimulationPassOverview ( { simulationPassId } ) {
140+ loadPerSimulationPassOverview ( { simulationPassId, pdpBeamTypes } ) {
138141 if ( ! this . _perSimulationPassOverviewModel . pagination . isInfiniteScrollEnabled ) {
139142 this . _perSimulationPassOverviewModel . simulationPassId = parseInt ( simulationPassId , 10 ) ;
143+ this . _perSimulationPassOverviewModel . pdpBeamTypes = pdpBeamTypes ;
140144 this . _perSimulationPassOverviewModel . load ( ) ;
141145 }
142146 }
0 commit comments