Commit 72a578d31fb38f5a7a49a31b5df1b96fe7b3d8dc
1 parent
4941ba87
Exists in
master
0 tricket finish
Showing
1 changed file
with
8 additions
and
8 deletions
Show diff stats
src/app/dashboard/dashboard.component.ts
| ... | ... | @@ -90,9 +90,6 @@ export class DashboardComponent implements OnInit { |
| 90 | 90 | Show7Onhold: any = []; |
| 91 | 91 | |
| 92 | 92 | ShowNull:any = []; |
| 93 | - | |
| 94 | - selectArr: any; | |
| 95 | - | |
| 96 | 93 | ButtonValue = [ |
| 97 | 94 | { |
| 98 | 95 | id: 33, |
| ... | ... | @@ -1067,7 +1064,7 @@ setInterval(async () => { |
| 1067 | 1064 | |
| 1068 | 1065 | getButton6(valueN) { |
| 1069 | 1066 | console.log(valueN); |
| 1070 | - | |
| 1067 | + | |
| 1071 | 1068 | if (this.Show6.length === 0) { |
| 1072 | 1069 | return this.Show6; |
| 1073 | 1070 | } |
| ... | ... | @@ -1089,10 +1086,13 @@ setInterval(async () => { |
| 1089 | 1086 | } |
| 1090 | 1087 | |
| 1091 | 1088 | } |
| 1092 | - // if (resultArray.length === 0 && valueN!=='') { | |
| 1093 | - if (resultArray.length === 0 && valueN !== "") { | |
| 1094 | - this.showSecret = !this.showSecret; | |
| 1095 | - } | |
| 1089 | + if (resultArray.length === 0) { | |
| 1090 | + if (resultArray.length === 0 && valueN !== "") { | |
| 1091 | + this.showSecret = true; | |
| 1092 | + } | |
| 1093 | + }else if(resultArray.length > 0) { | |
| 1094 | + this.showSecret = false; | |
| 1095 | + } | |
| 1096 | 1096 | this.resultData6 = resultArray; |
| 1097 | 1097 | } |
| 1098 | 1098 | ... | ... |