diff --git a/ng6-seed/src/app/dashboard/dashboard.component.ts b/ng6-seed/src/app/dashboard/dashboard.component.ts index a8407276f..62c7fdfd0 100644 --- a/ng6-seed/src/app/dashboard/dashboard.component.ts +++ b/ng6-seed/src/app/dashboard/dashboard.component.ts @@ -159,7 +159,6 @@ export class DashboardComponent { } updateRange(range: Range){ - this.range = range; this.onChange(this.range,1); } @@ -560,7 +559,7 @@ onChange(e :any,flag: any) { // console.log('cityarr',this.selectedCity); - this._dashboardService.getPDDetailForDoughnut(fromdate,todate,this.selectedLender,this.selectedCity).subscribe(data => { + this._dashboardService.getPDDetailForDoughnut(fromdate,todate,this.selectedCity,this.selectedLender).subscribe(data => { console.log(' *****Updated Date Doughnut Chart Data *****'); console.log('Whole Data',data);