Display all groups on dashboard by default

This commit is contained in:
Kai S. K. Engelbart 2021-03-05 13:06:10 +01:00
parent a35731e6cf
commit 340afc59e0

View File

@ -43,13 +43,13 @@ export class HomeComponent implements OnInit {
let temp: KeyInterface[] = [];
for (var i = 0; i < data.length; i++) {
temp.push({ id: data[i], count: 0, active: false });
temp.push({ id: data[i], count: 0, active: true });
}
this.keys = temp; // Invoke update in rb-multiselect
this.initChart();
// Only neccesary if keys get preselected
//this.calcFieldSelectKeys();
this.calcFieldSelectKeys();
// Fetch all samples populated with according group
this.getSamples();