From 38a3c07d1f2fa28263e58b56b3ea9275cb8b6c25 Mon Sep 17 00:00:00 2001 From: Timo Bejan Date: Mon, 12 Oct 2020 22:25:21 +0300 Subject: [PATCH] lint --- .../simple-doughnut-chart.component.ts | 12 ++++++------ apps/red-ui/src/app/state/app-state.service.ts | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/apps/red-ui/src/app/simple-doughnut-chart/simple-doughnut-chart.component.ts b/apps/red-ui/src/app/simple-doughnut-chart/simple-doughnut-chart.component.ts index c214f6e16..a5798d713 100644 --- a/apps/red-ui/src/app/simple-doughnut-chart/simple-doughnut-chart.component.ts +++ b/apps/red-ui/src/app/simple-doughnut-chart/simple-doughnut-chart.component.ts @@ -18,15 +18,15 @@ export class SimpleDoughnutChartComponent implements OnInit { @Input() title: string; @Input() subtitle: number; @Input() data: DataSeries[] = []; - @Input() angleOffset: number = -90; - @Input() radius: number = 80; - @Input() strokeWidth: number = 20; + @Input() angleOffset = -90; + @Input() radius = 80; + @Input() strokeWidth = 20; chartData: any[] = []; perimeter: number; - cx: number = 0; - cy: number = 0; - size: number = 0; + cx = 0; + cy = 0; + size = 0; constructor() { } diff --git a/apps/red-ui/src/app/state/app-state.service.ts b/apps/red-ui/src/app/state/app-state.service.ts index af6ed2ae7..6b86985aa 100644 --- a/apps/red-ui/src/app/state/app-state.service.ts +++ b/apps/red-ui/src/app/state/app-state.service.ts @@ -62,7 +62,7 @@ export class AppStateService { this._appState.projects = projects.map(p => { return new ProjectWrapper(p, []); }); - for (let project of projects) { + for (const project of projects) { await this.getFiles(project.projectId); } this._computeStats();