Skip to content

Commit

Permalink
Merge pull request #5056 from akvo/5051-full-decline-history-when-ind…
Browse files Browse the repository at this point in the history
…icator-update-is-returned-for-revision

[#5051] Show review note if status is R in Audit trail
  • Loading branch information
zuhdil committed Aug 1, 2022
2 parents f3c30f0 + 544c2a2 commit 689b34b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions akvo/rsr/spa/app/components/AuditTrail.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,12 @@ const DetailsValue = ({ data, textReport, disaggregations, scores }) => {
</Col>
</>
) : null}
{(data?.status === 'R' && data?.reviewNote) && (
<>
<Col span={span[0]}><Text type="secondary">Notes</Text></Col>
<Col span={span[1]}>{data.reviewNote}</Col>
</>
)}
{data?.scoreIndices?.length > 0 && (
<>
<Col span={span[0]}><Text type="secondary">Score</Text></Col>
Expand Down

0 comments on commit 689b34b

Please sign in to comment.