Change device/folder getAll to getEach

This commit is contained in:
Jesse Lucas
2020-04-14 21:00:48 -04:00
parent f53475a204
commit 24a637e9e6
4 changed files with 14 additions and 10 deletions
+1 -1
View File
@@ -4,7 +4,7 @@ import { ChartComponent } from './chart.component';
import { HttpClientModule } from '@angular/common/http';
class MockService {
getAll() {
getEach() {
// unimplemented
}
};
+1 -1
View File
@@ -72,7 +72,7 @@ export class ChartComponent implements OnInit {
ngAfterViewInit() {
let totalCount: number = 0;
this.service.getAll().subscribe(
this.service.getEach().subscribe(
t => {
// Count the number of folders and set chart
totalCount++;