Synchronously get the status of each folder

This commit is contained in:
Jesse Lucas
2020-03-29 16:51:12 -04:00
parent dae0872379
commit 063951cffa
3 changed files with 35 additions and 11 deletions
@@ -1,6 +1,5 @@
import { Component, Input } from '@angular/core';
import { Chart } from 'chart.js'
import { SystemConfigService } from 'src/app/system-config.service';
@Component({
selector: 'app-donut-chart',
@@ -32,7 +31,6 @@ export class DonutChartComponent {
this.chart.update();
}
ngAfterViewInit(): void {
this.canvas = document.getElementById(this.elementID);
this.ctx = this.canvas.getContext('2d');