From a8378180dd82668c486eed55ba95f3d25efc9276 Mon Sep 17 00:00:00 2001 From: DESKTOP-D5ILJ4S\flr_3 Date: Tue, 17 Jul 2018 18:04:52 +0700 Subject: [PATCH] no message --- src/app/dashboard/dashboard.component.ts | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/app/dashboard/dashboard.component.ts b/src/app/dashboard/dashboard.component.ts index 23782f1..95c0da9 100644 --- a/src/app/dashboard/dashboard.component.ts +++ b/src/app/dashboard/dashboard.component.ts @@ -261,7 +261,7 @@ export class DashboardComponent implements OnInit { } ]; - showSecret = false; + showSecret = true; onToggleDetails() { this.showSecret = !this.showSecret; } @@ -655,11 +655,9 @@ export class DashboardComponent implements OnInit { } // this.Show = Object.assign(this.resultData7); - } else { this.resultData7 = []; - console.log('hi', this.resultData7) } } catch (error) { console.log(error); @@ -1129,6 +1127,9 @@ setInterval(async () => { } const resultArray = []; + if(this.resultData7 === []){ + this.showSecret = !this.showSecret; + } for (const item of this.Show7) { // console.log('item: ', item); -- libgit2 0.21.2