Skip to content

Commit

Permalink
HOTFIX - ocultar codigo de color si se escoge solo porcentajes
Browse files Browse the repository at this point in the history
  • Loading branch information
asafJortilles authored and jortilles committed Feb 15, 2024
1 parent 2480ed3 commit 733febc
Showing 1 changed file with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,6 @@ export class TableDialogComponent extends EdaDialogAbstract implements AfterView
this.styles = this.myPanelChartComponent.componentRef.instance.inject.styles || [];
}
onShow(): void {

this.panelChartConfig = this.controller.params.panelChart;
if (this.panelChartConfig && this.panelChartConfig.config) {
const config = (<TableConfig>this.panelChartConfig.config.getConfig());
Expand All @@ -99,7 +98,6 @@ export class TableDialogComponent extends EdaDialogAbstract implements AfterView
}

this.setItems();

}


Expand Down Expand Up @@ -313,7 +311,6 @@ export class TableDialogComponent extends EdaDialogAbstract implements AfterView
}

private setItems() {

if (this.controller.params.panelChart.chartType === 'table') {
this.items = [
{
Expand Down Expand Up @@ -355,7 +352,8 @@ export class TableDialogComponent extends EdaDialogAbstract implements AfterView
icon: " ",
command: () => this.setStyle(col)
}
})
}),
disabled: this.onlyPercentages
},
{
label: this.seeRepetitions,
Expand Down Expand Up @@ -420,7 +418,8 @@ export class TableDialogComponent extends EdaDialogAbstract implements AfterView
icon: " ",
command: () => this.setStyle(col)
}
})
}),
disabled: this.onlyPercentages
}

];
Expand Down

0 comments on commit 733febc

Please sign in to comment.