Skip to content

Commit

Permalink
Merge branch 'EDA#2115'
Browse files Browse the repository at this point in the history
  • Loading branch information
jortilles committed Nov 18, 2024
2 parents faae9dd + ea05ab8 commit 443a695
Showing 1 changed file with 11 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -642,13 +642,21 @@ export class EdaBlankPanelComponent implements OnInit {

// Referencia a config
const configCrossTable = this.panelChartConfig.config.getConfig()


if(subType === 'crosstable'){

if(config===null){
this.axes = this.initAxes(this.currentQuery);
configCrossTable['ordering'] = [{axes: this.axes}];

if(Object.keys(this.copyConfigCrossTable).length !== 0) {
this.axes = this.copyConfigCrossTable['ordering'][0].axes;
configCrossTable['ordering'] = [{axes: this.axes}];

} else {
this.axes = this.initAxes(this.currentQuery);
configCrossTable['ordering'] = [{axes: this.axes}];
}


} else {

if(config['config']['ordering'] === undefined) {
Expand Down

0 comments on commit 443a695

Please sign in to comment.