Skip to content

Commit

Permalink
Merge pull request #648 from sunbird-cb/curated-course-button
Browse files Browse the repository at this point in the history
content name value trimmed
  • Loading branch information
nitinraj-tarento authored Jan 17, 2023
2 parents b064e14 + d0104f4 commit f572823
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -248,9 +248,9 @@ export class AppTocHomeComponent implements OnInit, OnDestroy, AfterViewChecked,
})

if (this.content) {
if((this.content.name).toLowerCase() === this.dakshtaName.toLowerCase()) {
// console.log(res.result.content.name.toLowerCase(), 'this.currentCollection.name_________++++')
// console.log(this.dakshtaName.toLowerCase(), 'this.dakshtaName.toLowerCase()==')
const contentName = this.content.name.trim()

if((contentName).toLowerCase() === this.dakshtaName.toLowerCase()) {
this.showBtn = true

} else {
Expand Down

0 comments on commit f572823

Please sign in to comment.