Display all groups on dashboard by default
This commit is contained in:
parent
a35731e6cf
commit
340afc59e0
@ -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();
|
||||||
|
Loading…
Reference in New Issue
Block a user