From 340afc59e098c1ad9d926cf1bc261f028da8ba0a Mon Sep 17 00:00:00 2001 From: "Engelbart Kai Sven (PEA4-Fe)" Date: Fri, 5 Mar 2021 13:06:10 +0100 Subject: [PATCH] Display all groups on dashboard by default --- src/app/home/home.component.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/home/home.component.ts b/src/app/home/home.component.ts index 16ee885..085a9bf 100644 --- a/src/app/home/home.component.ts +++ b/src/app/home/home.component.ts @@ -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();