Added comments

This commit is contained in:
Hartenstein Ruben (PEA4-Fe) 2021-01-18 14:09:25 +01:00
parent 2ce160c8d7
commit af576fa392

View File

@ -55,6 +55,7 @@ export class HomeComponent implements OnInit {
this.getSamples(); this.getSamples();
} }
// Iterate through active keys to assemble an api request for the required data
getSamples() { 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 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 = ''; let temp = '';
@ -79,7 +80,7 @@ export class HomeComponent implements OnInit {
} }
}); });
} }
const datasets = this.updateGraph(); this.updateGraph();
} }
// preset select // preset select