Browse Source

UI: Remove unused constant

pull/13300/head
Artem Dzhereleiko 1 year ago
parent
commit
1c5fc16b58
  1. 1
      ui-ngx/src/app/modules/home/components/widget/lib/chart/pie-chart.ts

1
ui-ngx/src/app/modules/home/components/widget/lib/chart/pie-chart.ts

@ -116,7 +116,6 @@ export class TbPieChart extends TbLatestChart<PieChartSettings> {
protected doUpdateSeriesData() {
const seriesData: PieDataItemOption[] = [];
const enabledDataItems = this.dataItems.filter(item => item.enabled && item.hasValue);
for (const dataItem of this.dataItems) {
if (dataItem.enabled && dataItem.hasValue) {
seriesData.push(

Loading…
Cancel
Save