Possible bugfix
This commit is contained in:
Vendored
+1
-1
File diff suppressed because one or more lines are too long
Vendored
+1
-3
@@ -769,9 +769,7 @@ var PieChartComponent = (function () {
|
||||
}
|
||||
PieChartComponent.prototype.ngOnInit = function () {
|
||||
this.pieChartLabels = this.label.data.slice();
|
||||
var newDataSet = [];
|
||||
newDataSet.push(this.data.data);
|
||||
this.pieChartData = newDataSet;
|
||||
this.pieChartData = this.data.data.slice();
|
||||
};
|
||||
PieChartComponent.prototype.ngOnChanges = function () {
|
||||
if (this.chart.chart != undefined) {
|
||||
|
||||
Vendored
+1
-1
File diff suppressed because one or more lines are too long
@@ -25,10 +25,7 @@ export class PieChartComponent implements OnInit, OnChanges {
|
||||
ngOnInit(): void {
|
||||
|
||||
this.pieChartLabels = this.label.data.slice();
|
||||
|
||||
const newDataSet = [];
|
||||
newDataSet.push(this.data.data);
|
||||
this.pieChartData = newDataSet;
|
||||
this.pieChartData = this.data.data.slice();
|
||||
}
|
||||
|
||||
ngOnChanges(): void {
|
||||
|
||||
Reference in New Issue
Block a user