Skip to content

Commit

Permalink
Task #58378: Fixed the get rating during edit
Browse files Browse the repository at this point in the history
  • Loading branch information
christyfernandes committed May 17, 2022
1 parent 0a8eb2f commit 10a54f8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -495,7 +495,7 @@ export class AppTocHomeComponent implements OnInit, OnDestroy, AfterViewChecked,
if (this.content && this.content.identifier && this.content.primaryCategory) {
this.ratingSvc.getRating(this.content.identifier, this.content.primaryCategory, this.userId).subscribe(
(res: any) => {
this.userRating = res.result.response[0]
this.userRating = res.result.response
this.tocSvc.changeUpdateReviews(true)
// this.userRating = {
// commentupdatedon: null,
Expand Down

0 comments on commit 10a54f8

Please sign in to comment.