Commit a8378180dd82668c486eed55ba95f3d25efc9276
1 parent
53ff2af7
Exists in
master
no message
Showing
1 changed file
with
4 additions
and
3 deletions
Show diff stats
src/app/dashboard/dashboard.component.ts
@@ -261,7 +261,7 @@ export class DashboardComponent implements OnInit { | @@ -261,7 +261,7 @@ export class DashboardComponent implements OnInit { | ||
261 | } | 261 | } |
262 | ]; | 262 | ]; |
263 | 263 | ||
264 | - showSecret = false; | 264 | + showSecret = true; |
265 | onToggleDetails() { | 265 | onToggleDetails() { |
266 | this.showSecret = !this.showSecret; | 266 | this.showSecret = !this.showSecret; |
267 | } | 267 | } |
@@ -655,11 +655,9 @@ export class DashboardComponent implements OnInit { | @@ -655,11 +655,9 @@ export class DashboardComponent implements OnInit { | ||
655 | } | 655 | } |
656 | 656 | ||
657 | // this.Show = Object.assign(this.resultData7); | 657 | // this.Show = Object.assign(this.resultData7); |
658 | - | ||
659 | 658 | ||
660 | } else { | 659 | } else { |
661 | this.resultData7 = []; | 660 | this.resultData7 = []; |
662 | - console.log('hi', this.resultData7) | ||
663 | } | 661 | } |
664 | } catch (error) { | 662 | } catch (error) { |
665 | console.log(error); | 663 | console.log(error); |
@@ -1129,6 +1127,9 @@ setInterval(async () => { | @@ -1129,6 +1127,9 @@ setInterval(async () => { | ||
1129 | } | 1127 | } |
1130 | 1128 | ||
1131 | const resultArray = []; | 1129 | const resultArray = []; |
1130 | + if(this.resultData7 === []){ | ||
1131 | + this.showSecret = !this.showSecret; | ||
1132 | + } | ||
1132 | for (const item of this.Show7) { | 1133 | for (const item of this.Show7) { |
1133 | // console.log('item: ', item); | 1134 | // console.log('item: ', item); |
1134 | 1135 |