hgaol commented on code in PR #668:
URL: https://github.com/apache/incubator-answer/pull/668#discussion_r1423509824
##########
ui/src/pages/Questions/Detail/index.tsx:
##########
@@ -194,6 +195,7 @@ const Index = () => {
setQuestion({
...question,
answered: true,
+ answer_ids: [...question.answer_ids, obj.id],
Review Comment:
I also found there's field named `last_answer_id`. After some investigation,
I found it means the question's last answer id, while here `first_answer_id` is
current user's first answer id for this question. Though it has no impact to
the logic. Just FYI.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]