Skip to content

Commit

Permalink
grid header issue when no variablesDetailedStatistics #162
Browse files Browse the repository at this point in the history
  • Loading branch information
stephanebouget committed Jan 10, 2024
1 parent 6445644 commit 8998d7d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -397,11 +397,11 @@ export class Preparation2dDatasService {
// normal case
const currentVar = appDatas.bivariatePreparationReport.variablesPairsDetailedStatistics[rank];
variableDetails = new VariableDetailsVO(currentVar, this.khiopsLibraryService.getAppConfig().common.GLOBAL.MAX_TABLE_SIZE);
} else if (isRegressionOrExplanatoryAnalysis && appDatas.textPreparationReport && appDatas.textPreparationReport.variablesDetailedStatistics[rank]) {
} else if (isRegressionOrExplanatoryAnalysis && appDatas.textPreparationReport && appDatas.textPreparationReport.variablesDetailedStatistics && appDatas.textPreparationReport.variablesDetailedStatistics[rank]) {
// regression or explanatory case: textPreparationReport
const currentVar = appDatas.textPreparationReport.variablesDetailedStatistics[rank];
variableDetails = new VariableDetailsVO(currentVar, this.khiopsLibraryService.getAppConfig().common.GLOBAL.MAX_TABLE_SIZE);
} else if (isRegressionOrExplanatoryAnalysis && appDatas.preparationReport && appDatas.preparationReport.variablesDetailedStatistics[rank]) {
} else if (isRegressionOrExplanatoryAnalysis && appDatas.preparationReport && appDatas.preparationReport.variablesDetailedStatistics && appDatas.preparationReport.variablesDetailedStatistics[rank]) {
// regression or explanatory case: preparationReport
const currentVar = appDatas.preparationReport.variablesDetailedStatistics[rank];
variableDetails = new VariableDetailsVO(currentVar, this.khiopsLibraryService.getAppConfig().common.GLOBAL.MAX_TABLE_SIZE);
Expand Down

0 comments on commit 8998d7d

Please # to comment.