Skip to content

Commit

Permalink
Merge pull request #26 from KB-iGOT/style-issue-fix
Browse files Browse the repository at this point in the history
Style issue fix
  • Loading branch information
vishnubansaltarento authored Sep 26, 2024
2 parents 3c9dd98 + 7f92372 commit 077e836
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,8 @@ export class SurveyComponent implements OnInit {
this.surveyApiService.getSurveyResults(reqPayLoad).subscribe((response: any) => {
if (response && response.status === 200) {
if (response && response.SolutionList && response.SolutionList.length) {
this.data = response.SolutionList
this.formatData(this.data)
//this.data = response.SolutionList
this.formatData(response.SolutionList)
} else {
this.data = []
}
Expand Down Expand Up @@ -140,9 +140,9 @@ export class SurveyComponent implements OnInit {
const updatedDate = udate + `-` + umm + `-` + uyear
req.END_DATE = updatedDate

this.data.push(req)
}

}
this.data.push(req)
// this.data.sort((a: any, b: any) => {
// return new Date(b.createdDate).getTime() - new Date(a.createdDate).getTime()
// })
Expand Down

0 comments on commit 077e836

Please sign in to comment.