2
Fork 0

Added comments

This commit is contained in:
Hartenstein Ruben (PEA4-Fe) 2021-01-18 14:09:25 +01:00
parent 2ce160c8d7
commit af576fa392
1 changed files with 2 additions and 1 deletions

View File

@ -55,6 +55,7 @@ export class HomeComponent implements OnInit {
this.getSamples();
}
// Iterate through active keys to assemble an api request for the required data
getSamples() {
let query = '/samples?status%5B%5D=validated&status=new&filters%5B%5D=%7B%22mode%22%3A%22in%22%2C%22field%22%3A%22material.group%22%2C%22values%22%3A%5B';
let temp = '';
@ -79,7 +80,7 @@ export class HomeComponent implements OnInit {
}
});
}
const datasets = this.updateGraph();
this.updateGraph();
}
// preset select