diff --git a/src/app/dashboard/dashboard.component.html b/src/app/dashboard/dashboard.component.html index b571a36..f17233f 100644 --- a/src/app/dashboard/dashboard.component.html +++ b/src/app/dashboard/dashboard.component.html @@ -692,7 +692,7 @@

- +

0 Tricket


diff --git a/src/app/dashboard/dashboard.component.ts b/src/app/dashboard/dashboard.component.ts index 0e85e3b..23782f1 100644 --- a/src/app/dashboard/dashboard.component.ts +++ b/src/app/dashboard/dashboard.component.ts @@ -655,10 +655,11 @@ export class DashboardComponent implements OnInit { } // this.Show = Object.assign(this.resultData7); - console.log('hi', this.Show7) + } else { this.resultData7 = []; + console.log('hi', this.resultData7) } } catch (error) { console.log(error); @@ -762,22 +763,19 @@ setInterval(async () => { }, 600000); } + // btnSelect(selVal) { + // // console.log(selVal); + // let arr = []; + // for (let i in selVal) { + // arr.push(selVal); + // } + // // console.log('select1 : ', arr); + // this.Namebtn = arr; - btnSelect(selVal) { - // console.log(selVal); - let arr = []; - for (let i in selVal) { - arr.push(selVal); - } - - // console.log('select1 : ', arr); - - this.Namebtn = arr; - - console.log('select : ', this.Namebtn); - } + // console.log('select : ', this.Namebtn); + // } getButton1(valueN) { // console.log(valueN); @@ -835,6 +833,7 @@ setInterval(async () => { } this.resultDataOnHold = resultArray; + } getButton2(valueN) { @@ -1131,7 +1130,7 @@ setInterval(async () => { const resultArray = []; for (const item of this.Show7) { - console.log('item: ', item); + // console.log('item: ', item); var st = ''; // st = item['team'].toLowerCase() + item['COMMENT'].toLowerCase() + item['custgroupName'].toLowerCase() + item['STATUS'].toLowerCase() ; @@ -1141,12 +1140,11 @@ setInterval(async () => { var string2 = valueN.toLowerCase(); if (st.indexOf(string2) > -1) { - console.log(st); + // console.log(st); resultArray.push(item); } } - this.resultData7 = resultArray; } @@ -1177,6 +1175,9 @@ setInterval(async () => { } this.resultDataOnHold7 = resultArray; + // if(this.resultDataOnHold7 === []){ + // this.showSecret = !this.showSecret; + // } } /////////////Get data come to use////////////////////// -- libgit2 0.21.2