diff --git a/src/app/dashboard/dashboard.component.ts b/src/app/dashboard/dashboard.component.ts index 9648994..c0c6592 100644 --- a/src/app/dashboard/dashboard.component.ts +++ b/src/app/dashboard/dashboard.component.ts @@ -90,9 +90,6 @@ export class DashboardComponent implements OnInit { Show7Onhold: any = []; ShowNull:any = []; - - selectArr: any; - ButtonValue = [ { id: 33, @@ -1067,7 +1064,7 @@ setInterval(async () => { getButton6(valueN) { console.log(valueN); - + if (this.Show6.length === 0) { return this.Show6; } @@ -1089,10 +1086,13 @@ setInterval(async () => { } } - // if (resultArray.length === 0 && valueN!=='') { - if (resultArray.length === 0 && valueN !== "") { - this.showSecret = !this.showSecret; - } + if (resultArray.length === 0) { + if (resultArray.length === 0 && valueN !== "") { + this.showSecret = true; + } + }else if(resultArray.length > 0) { + this.showSecret = false; + } this.resultData6 = resultArray; } -- libgit2 0.21.2