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[] = []; let temp: KeyInterface[] = [];
for (var i = 0; i < data.length; i++) { 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.keys = temp; // Invoke update in rb-multiselect
this.initChart(); this.initChart();
// Only neccesary if keys get preselected // Only neccesary if keys get preselected
//this.calcFieldSelectKeys(); this.calcFieldSelectKeys();
// Fetch all samples populated with according group // Fetch all samples populated with according group
this.getSamples(); this.getSamples();