Skip to content
This repository was archived by the owner on Mar 4, 2025. It is now read-only.

Commit 4ae69b5

Browse files
author
vikasrohit
committed
SUP-1447, Peer review updates
Cherry picked changes for following commits into peer-review app 1) integrating with api Commit: da21a311e76083e8a2cc35b4135c9e16c3c1247d [da21a31] Parents: deac3d7b57 Author: Mauricio Desiderio <[email protected]> Date: 1 August 2015 1:36:12 am IST Labels: origin/vikas-scorecard-comment-support
1 parent a84b0d9 commit 4ae69b5

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

app/services/helpers.service.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -105,8 +105,6 @@
105105
questions[questionId].comment = answerObject.comments[0].content;
106106
questions[questionId].comments = answerObject.comments;
107107
}
108-
// TODO remove following line once api has the support
109-
questions[questionId].comment = 'mock comment';
110108

111109
if (answerObject.answer !== '') {
112110
saved = true;
@@ -129,7 +127,7 @@
129127
answer: '' + q.answer,
130128
comments: q.comments
131129
};
132-
130+
133131
if (reviewItem.comments && reviewItem.comments.length > 0) {
134132
reviewItem.comments[0].content = q.comment;
135133
} else {

0 commit comments

Comments
 (0)